From a3a79534ab3daed9471b701f38289df5b044a16b Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Fri, 30 Apr 2021 21:12:52 -0700 Subject: [PATCH] Build for arm64 on macOS. Fixes #1076. For now we only build a DMG and zip for arm64, because the arm64 pkg would overwrite the x64 pkg (https://github.com/electron-userland/electron-builder/issues/5847). Signed-off-by: Anders Kaseorg --- package.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index dbe72788..12271df1 100644 --- a/package.json +++ b/package.json @@ -53,9 +53,14 @@ "mac": { "category": "public.app-category.productivity", "target": [ - "dmg", - "pkg", - "zip" + { + "target": "default", + "arch": [ + "x64", + "arm64" + ] + }, + "pkg" ], "darkModeSupport": true, "artifactName": "${productName}-${version}-${arch}.${ext}",