From 7220d794c3e0bdf9b63cd8fd7f39ed4e630bfeac Mon Sep 17 00:00:00 2001 From: Harsh Date: Fri, 24 May 2024 16:13:10 +0530 Subject: [PATCH 1/2] enabled mac-x64-build --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f9ba2637..2e8dd1b2 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "build": "npm run build:electron && electron-builder", "build:all": "npm run build:electron && electron-builder -mwl", "build:linux": "npm run pre:build:linux && npm run build:electron && electron-builder --linux -p never", - "build:mac": "npm run pre:build:mac && npm run build:electron && electron-builder --mac -p never", + "build:mac": "npm run pre:build:mac && npm run build:electron && electron-builder --mac --x64 --arm64 -p never", "build:win": "npm run pre:build:win && npm run build:electron && electron-builder --win -p never", "pack": "npm run build:electron && electron-builder --dir", "postinstall": "electron-builder install-app-deps", From 0646ba8342cbdb9945309d5a882ac420f76cb679 Mon Sep 17 00:00:00 2001 From: Harsh Date: Fri, 24 May 2024 16:51:07 +0530 Subject: [PATCH 2/2] updated package.json --- package.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 2e8dd1b2..325c7feb 100644 --- a/package.json +++ b/package.json @@ -163,7 +163,12 @@ }, "mac": { "category": "public.app-category.finance", - "target": ["dmg"], + "target": [ + { + "target": "dmg", + "arch": ["x64", "arm64"] + } + ], "type": "distribution", "hardenedRuntime": true, "entitlements": "electron-app/assets/entitlements.mac.plist",