electron-vite-vue/electron-builder.json5

39 lines
789 B
Plaintext
Raw Normal View History

2022-04-12 09:20:42 +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,
"directories": {
"output": "release/${version}"
},
"files": [
"dist-electron",
2021-12-31 09:07:54 +08:00
"dist"
2021-12-14 16:16:43 +08:00
],
"mac": {
"artifactName": "${productName}_${version}.${ext}",
"target": [
"dmg"
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64"
]
}
],
"artifactName": "${productName}_${version}.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
}
}