postcat/electron-builder.json
2022-02-16 19:14:49 +08:00

42 lines
802 B
JSON

{
"asar": true,
"directories": {
"output": "release/"
},
"nsis": {
"oneClick": false,
"allowElevation": true,
"allowToChangeInstallationDirectory": true
},
"generateUpdatesFilesForAllChannels": true,
"publish": ["github"],
"files": ["**/*", "!**/*.ts", "!*.map", "!package.json", "!package-lock.json"],
"extraResources": [
{
"from": "dist",
"to": "app",
"filter": ["**/*"]
}
],
"win": {
"icon": "dist/assets/icons/256x256.png",
"target": [
{
"target": "nsis"
},
"portable"
]
},
"portable": {
"splashImage": "dist/assets/icons/eoapi.bmp"
},
"mac": {
"icon": "dist/assets/icons",
"target": ["dmg"]
},
"linux": {
"icon": "dist/assets/icons",
"target": ["AppImage"]
}
}