diff --git a/electron-builder.json b/electron-builder.json index f9d4a57a86..44a4ae3d3e 100644 --- a/electron-builder.json +++ b/electron-builder.json @@ -15,7 +15,17 @@ "artifactName": "${productName}.${ext}", "compression": "normal", "mac": { - "target": ["dmg", "zip"], + "artifactName": "${productName}-${os}-${arch}.${ext}", + "target": [ + { + "target": "dmg", + "arch": ["x64", "arm64"] + }, + { + "target": "zip", + "arch": ["x64", "arm64"] + } + ], "type": "distribution", "hardenedRuntime": true, "darkModeSupport": true, @@ -24,7 +34,6 @@ "gatekeeperAssess": false }, "dmg": { - "artifactName": "${productName}-${os}-${arch}.${ext}", "contents": [ { "x": 130,