perf: 🚀 支持创建更多架构的 MacOS 软件包格式

This commit is contained in:
viarotel 2023-10-20 19:26:34 +08:00
parent 9e03fefbc6
commit 4780e7c506

View File

@ -16,7 +16,12 @@
}, },
"mac": { "mac": {
"icon": "logo.icns", "icon": "logo.icns",
"target": ["dmg"], "target": [
{
"target": "dmg",
"arch": ["universal", "arm64", "x64"]
}
],
"artifactName": "${productName}-${version}-mac-installer.${ext}", "artifactName": "${productName}-${version}-mac-installer.${ext}",
"entitlementsInherit": "electron/resources/build/entitlements.mac.plist", "entitlementsInherit": "electron/resources/build/entitlements.mac.plist",
"extendInfo": { "extendInfo": {