electron-builder.json
{
"directories": {
"app": "dist",
"buildResources": "build",
"output": "release"
},
"appId": "com.gistoapp.gisto2",
"artifactName": "${productName}-${version}-${arch}.${ext}",
"mac": {
"publish": {
"provider": "github",
"releaseType": "release"
},
"category": "public.app-category.productivity",
"icon": "build/icon.png",
"darkModeSupport": true
},
"dmg": {
"publish": {
"provider": "github",
"releaseType": "release"
},
"window": {
"width": 540,
"height": 328
},
"contents": [
{
"x": 100,
"y": 200
},
{
"x": 440,
"y": 200,
"type": "link",
"path": "/Applications"
}
]
},
"win": {
"publish": {
"provider": "github",
"releaseType": "release"
},
"target": ["nsis", "portable"],
"icon": "build/icon.ico"
},
"nsis": {
"oneClick": false,
"allowToChangeInstallationDirectory": false,
"createDesktopShortcut": "always"
},
"portable": {
"artifactName": "${productName}-${version}-${arch}-Portable.${ext}"
},
"linux": {
"maintainer": "Sasha Khamkov <sanusart@gmail.com>",
"icon": "build/icon/",
"desktop": {
"StartupWMClass": "gisto"
},
"publish": {
"provider": "github",
"releaseType": "release"
},
"target": [
"deb",
"rpm",
"pacman",
"AppImage",
"snap"
],
"synopsis": "Gisto - snippets made awesome",
"category": "Development"
}
}