heynote/electron-builder.json5
Jonatan Heyman d361a5a073 Build both DMG and ZIP for both arm64 and intel architectures
Save ZIP file in mac build artifact instead of DMG file
2023-01-17 01:24:38 +01:00

47 lines
870 B
Plaintext

/**
* @see https://www.electron.build/configuration/configuration
*/
{
"appId": "com.heynote.app",
"asar": true,
//"icon": "public/favicon.ico",
"directories": {
"output": "release/${version}",
"buildResources": "resources"
},
"files": [
"dist-electron",
"dist"
],
"mac": {
"artifactName": "${productName}_${version}_${arch}.${ext}",
"target": [
{
target: 'default',
arch: [
'x64',
'arm64'
]
}
],
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}_${version}.${ext}",
"icon": "public/favicon.ico"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
}
}