mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 03:46:35 +08:00
39 lines
692 B
Plaintext
39 lines
692 B
Plaintext
/**
|
|
* @see https://www.electron.build/configuration/configuration
|
|
*/
|
|
{
|
|
"appId": "YourAppID",
|
|
"asar": true,
|
|
"icon": "public/favicon.ico",
|
|
"directories": {
|
|
"output": "release/${version}"
|
|
},
|
|
"files": [
|
|
"dist-electron",
|
|
"dist"
|
|
],
|
|
"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
|
|
}
|
|
}
|