heynote/electron-builder.json5

63 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2023-01-12 18:55:55 +01:00
/**
* @see https://www.electron.build/configuration/configuration
*/
{
"appId": "com.heynote.app",
2023-01-12 18:55:55 +01:00
"asar": true,
//"icon": "public/favicon.ico",
2023-01-12 18:55:55 +01:00
"directories": {
"output": "release/${version}",
"buildResources": "resources"
2023-01-12 18:55:55 +01:00
},
"files": [
"dist-electron",
"dist"
],
"afterSign": "electron-builder-notarize",
2023-01-12 18:55:55 +01:00
"mac": {
"artifactName": "${productName}_${version}_${arch}.${ext}",
2023-01-12 18:55:55 +01:00
"target": [
{
target: 'default',
arch: [
'x64',
2023-07-09 01:02:45 +02:00
'arm64',
'universal'
]
}
],
"publish": ["github"],
"category": "public.app-category.productivity",
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/icon.ico"
2023-01-12 18:55:55 +01:00
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
},
linux: {
synopsis: "A dedicated scratchpad for developers",
category: "Utility",
},
appImage: {
artifactName: "${productName}_${version}_${arch}.${ext}",
},
snap: {
artifactName: "${productName}_${version}_${arch}.${ext}",
publish: ["github"],
2023-01-12 18:55:55 +01:00
}
}