diff --git a/build-creator.sh b/build-creator.sh index d3ef6ad..33a863b 100755 --- a/build-creator.sh +++ b/build-creator.sh @@ -122,7 +122,7 @@ npm run build 2>&1 # macOS (universal binary already) echo "" echo "--- macOS ---" -npx electron-builder --mac || true +npx electron-builder --mac --x64 --arm64 || true # Windows x64 echo "" diff --git a/build-joiner-app.sh b/build-joiner-app.sh index 1a5af7e..fa284e8 100755 --- a/build-joiner-app.sh +++ b/build-joiner-app.sh @@ -50,8 +50,8 @@ npx electron-builder --linux --x64 --publish never if [ "$(uname)" = "Darwin" ]; then echo "" - echo "--- macOS (universal) ---" - npx electron-builder --mac --publish never || true + echo "--- macOS ---" + npx electron-builder --mac --x64 --arm64 --publish never || true fi "$ROOT/clean-prebuilts.sh" diff --git a/creator-app/package.json b/creator-app/package.json index f59182c..548dcbb 100644 --- a/creator-app/package.json +++ b/creator-app/package.json @@ -46,6 +46,7 @@ ], "mac": { "target": "dmg", + "artifactName": "${productName}-${version}-${arch}.${ext}", "icon": "resources/icon.icns", "extraResources": [ {