heynote/electron-builder.json5
Jonatan Heyman 49d3e5cd7d
Add Linux support (#6)
* Add linux AppImage build target
* Add ubuntu to Github Actions build matrix
* Show help text on how to open Menu, on Linux
2023-12-21 19:18:04 +01:00

63 lines
1.3 KiB
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
},
linux: {
synopsis: "A dedicated scratchpad for developers",
category: "Utility",
},
appImage: {
artifactName: "${productName}_${version}_${arch}.${ext}",
},
snap: {
artifactName: "${productName}_${version}_${arch}.${ext}",
publish: ["github"],
}
}