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": {
|
2023-01-17 01:24:38 +01:00
|
|
|
"artifactName": "${productName}_${version}_${arch}.${ext}",
|
2023-01-12 18:55:55 +01:00
|
|
|
"target": [
|
2023-01-17 01:24:38 +01:00
|
|
|
{
|
2023-01-13 15:30:21 +01:00
|
|
|
target: 'default',
|
|
|
|
arch: [
|
|
|
|
'x64',
|
|
|
|
'arm64'
|
|
|
|
]
|
2023-01-17 01:24:38 +01:00
|
|
|
}
|
|
|
|
],
|
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}",
|
2023-01-16 16:07:39 +01:00
|
|
|
"icon": "public/favicon.ico"
|
2023-01-12 18:55:55 +01:00
|
|
|
},
|
|
|
|
"nsis": {
|
|
|
|
"oneClick": false,
|
|
|
|
"perMachine": false,
|
|
|
|
"allowToChangeInstallationDirectory": true,
|
2023-01-16 16:07:11 +01:00
|
|
|
"deleteAppDataOnUninstall": false
|
2023-01-12 18:55:55 +01:00
|
|
|
}
|
|
|
|
}
|