mirror of
https://github.com/heyman/heynote.git
synced 2024-11-25 01:13:17 +01:00
51 lines
1016 B
Plaintext
51 lines
1016 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"
|
|
],
|
|
"afterSign": "electron-builder-notarize",
|
|
"mac": {
|
|
"artifactName": "${productName}_${version}_${arch}.${ext}",
|
|
"target": [
|
|
{
|
|
target: 'default',
|
|
arch: [
|
|
'x64',
|
|
'arm64',
|
|
'universal'
|
|
]
|
|
}
|
|
],
|
|
"publish": ["github"],
|
|
"category": "public.app-category.productivity",
|
|
},
|
|
"win": {
|
|
"target": [
|
|
{
|
|
"target": "nsis",
|
|
"arch": [
|
|
"x64"
|
|
]
|
|
}
|
|
],
|
|
"artifactName": "${productName}_${version}.${ext}",
|
|
"icon": "public/favicon.ico"
|
|
},
|
|
"nsis": {
|
|
"oneClick": false,
|
|
"perMachine": false,
|
|
"allowToChangeInstallationDirectory": true,
|
|
"deleteAppDataOnUninstall": false
|
|
}
|
|
}
|