Arx 0.5.0: Fix problems on Mac (fix.sh + fixes.json, undo), v0.6 for 4-bit builds, website wording
b2c9ced verified Download app/scripts/mac-zip-help.sh from Devseis/Arx: direct link, hf CLI and curl.
- Browser
- Download file 712 Bytes
-
https://huggingface.co/spaces/Devseis/Arx/resolve/main/app/scripts/mac-zip-help.sh
- Command line
-
hf download hf://spaces/Devseis/Arx/app/scripts/mac-zip-help.sh
-
curl -L -o mac-zip-help.sh https://huggingface.co/spaces/Devseis/Arx/resolve/main/app/scripts/mac-zip-help.sh
712 Bytes
| # After `electron-builder --mac`: rebuild the Mac .zip so it holds Arx.app AND "How to open Arx.txt" | |
| # (a .zip has no installer window to show the first-open steps). Keeps the app's signature and attributes (ditto). | |
| set -euo pipefail | |
| cd "$(dirname "$0")/.." | |
| VERSION=$(node -p "require('./package.json').version") | |
| ZIP="dist/Arx-$VERSION-mac-universal.zip" | |
| APP="dist/mac-universal/Arx.app" | |
| [ -d "$APP" ] || { echo "missing $APP" >&2; exit 1; } | |
| TMP=$(mktemp -d) | |
| ditto "$APP" "$TMP/Arx/Arx.app" | |
| cp "build/How-to-open-Arx.txt" "$TMP/Arx/How to open Arx.txt" | |
| rm -f "$ZIP" "$ZIP.blockmap" | |
| ditto -c -k --sequesterRsrc --keepParent "$TMP/Arx" "$ZIP" | |
| rm -rf "$TMP" | |
| echo "rebuilt $ZIP with How to open Arx.txt" | |