add intel macbook target to prebuilts
This commit is contained in:
1 parent
c89688afd2
commit
a7b7fba0a6
3 files changed
+4
-3
No files matched your search
+1
-1
@@ -122,7 +122,7 @@ npm run build 2>&1
|
|||||||
# macOS (universal binary already)
|
# macOS (universal binary already)
|
||||||
echo ""
|
echo ""
|
||||||
echo "--- macOS ---"
|
echo "--- macOS ---"
|
||||||
npx electron-builder --mac || true
|
npx electron-builder --mac --x64 --arm64 || true
|
||||||
|
|
||||||
# Windows x64
|
# Windows x64
|
||||||
echo ""
|
echo ""
|
||||||
|
|||||||
+2
-2
@@ -50,8 +50,8 @@ npx electron-builder --linux --x64 --publish never
|
|||||||
|
|
||||||
if [ "$(uname)" = "Darwin" ]; then
|
if [ "$(uname)" = "Darwin" ]; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "--- macOS (universal) ---"
|
echo "--- macOS ---"
|
||||||
npx electron-builder --mac --publish never || true
|
npx electron-builder --mac --x64 --arm64 --publish never || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
"$ROOT/clean-prebuilts.sh"
|
"$ROOT/clean-prebuilts.sh"
|
||||||
|
|||||||
@@ -46,6 +46,7 @@
|
|||||||
],
|
],
|
||||||
"mac": {
|
"mac": {
|
||||||
"target": "dmg",
|
"target": "dmg",
|
||||||
|
"artifactName": "${productName}-${version}-${arch}.${ext}",
|
||||||
"icon": "resources/icon.icns",
|
"icon": "resources/icon.icns",
|
||||||
"extraResources": [
|
"extraResources": [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user