From 4780e7c5063fc2c103d1502c75a3fd3af6719d7b Mon Sep 17 00:00:00 2001 From: viarotel Date: Fri, 20 Oct 2023 19:26:34 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=F0=9F=9A=80=20=E6=94=AF=E6=8C=81?= =?UTF-8?q?=E5=88=9B=E5=BB=BA=E6=9B=B4=E5=A4=9A=E6=9E=B6=E6=9E=84=E7=9A=84?= =?UTF-8?q?=20MacOS=20=E8=BD=AF=E4=BB=B6=E5=8C=85=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- electron-builder.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/electron-builder.json b/electron-builder.json index 85471a32..f4ac023c 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -16,7 +16,12 @@ }, "mac": { "icon": "logo.icns", - "target": ["dmg"], + "target": [ + { + "target": "dmg", + "arch": ["universal", "arm64", "x64"] + } + ], "artifactName": "${productName}-${version}-mac-installer.${ext}", "entitlementsInherit": "electron/resources/build/entitlements.mac.plist", "extendInfo": {