refactor: electron-builder use npm command

This commit is contained in:
草鞋没号 committed 2021-12-15 08:44:09 +08:00
1 parent 2820bdb760
commit 67f1d00193
4 files changed
+36 -47

No files matched your search

+35
View File
@@ -0,0 +1,35 @@
{
"appId": "308487730@qq.com",
"asar": true,
"directories": {
"output": "release/${version}"
},
"files": [
"!node_modules",
"dist",
"package.json"
],
"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
}
}