2023-01-12 18:55:55 +01:00
|
|
|
/**
|
|
|
|
* @see https://www.electron.build/configuration/configuration
|
|
|
|
*/
|
|
|
|
{
|
2023-01-13 01:45:14 +01:00
|
|
|
"appId": "com.heynote.app",
|
2023-01-12 18:55:55 +01:00
|
|
|
"asar": true,
|
2023-01-13 01:45:14 +01:00
|
|
|
//"icon": "public/favicon.ico",
|
2023-01-12 18:55:55 +01:00
|
|
|
"directories": {
|
2023-01-13 01:45:14 +01:00
|
|
|
"output": "release/${version}",
|
|
|
|
"buildResources": "resources"
|
2023-01-12 18:55:55 +01:00
|
|
|
},
|
|
|
|
"files": [
|
|
|
|
"dist-electron",
|
|
|
|
"dist"
|
|
|
|
],
|
|
|
|
"mac": {
|
|
|
|
"artifactName": "${productName}_${version}.${ext}",
|
|
|
|
"target": [
|
2023-01-13 15:30:21 +01:00
|
|
|
"dmg",
|
|
|
|
/*{
|
|
|
|
target: 'default',
|
|
|
|
arch: [
|
|
|
|
'x64',
|
|
|
|
'arm64'
|
|
|
|
]
|
|
|
|
}*/
|
2023-01-12 18:55:55 +01:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"win": {
|
|
|
|
"target": [
|
|
|
|
{
|
|
|
|
"target": "nsis",
|
|
|
|
"arch": [
|
|
|
|
"x64"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2023-01-15 13:01:41 +01:00
|
|
|
"artifactName": "${productName}_${version}.${ext}",
|
|
|
|
"icon": "public/favicon.ico"
|
2023-01-12 18:55:55 +01:00
|
|
|
},
|
|
|
|
"nsis": {
|
|
|
|
"oneClick": false,
|
|
|
|
"perMachine": false,
|
|
|
|
"allowToChangeInstallationDirectory": true,
|
|
|
|
"deleteAppDataOnUninstall": false
|
|
|
|
}
|
|
|
|
}
|