mirror of
https://github.com/heyman/heynote.git
synced 2024-11-22 07:54:11 +01:00
97995da5e1
This reverts commit b561c0184e
.
48 lines
878 B
Plaintext
48 lines
878 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}.${ext}",
|
|
"target": [
|
|
"dmg",
|
|
/*{
|
|
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
|
|
}
|
|
}
|