electron-vite-vue/electron-builder.json5

44 lines
960 B
Plaintext
Raw Normal View History

2024-04-18 17:36:13 +08:00
// @see https://www.electron.build/configuration/configuration
2021-12-14 16:16:43 +08:00
{
2023-04-17 10:24:20 +08:00
"$schema": "https://raw.githubusercontent.com/electron-userland/electron-builder/master/packages/app-builder-lib/scheme.json",
2022-04-12 09:20:42 +08:00
"appId": "YourAppID",
2021-12-14 16:16:43 +08:00
"asar": true,
2023-09-08 12:17:24 +08:00
"productName": "YourAppName",
2021-12-14 16:16:43 +08:00
"directories": {
"output": "release/${version}"
},
"files": [
2023-09-08 12:17:24 +08:00
"dist",
"dist-electron"
2021-12-14 16:16:43 +08:00
],
"mac": {
"target": [
"dmg"
2023-09-08 12:17:24 +08:00
],
"artifactName": "${productName}-Mac-${version}-Installer.${ext}"
2021-12-14 16:16:43 +08:00
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
2023-09-08 12:17:24 +08:00
"artifactName": "${productName}-Windows-${version}-Setup.${ext}"
2021-12-14 16:16:43 +08:00
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
2023-09-08 12:17:24 +08:00
},
"linux": {
"target": [
"AppImage"
],
"artifactName": "${productName}-Linux-${version}.${ext}"
2021-12-14 16:16:43 +08:00
}
}