change electron-build config file foramt

This commit is contained in:
jgsim committed 2022-04-10 00:40:30 +09:00
1 parent 3e407af2d6
commit fb20b1f949
2 files changed
+34 -38

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
{
"appId": "YourAppID",
"productName": "YourAppName",
"copyright": "Copyright © 2022 ${author}",
"asar": true,
"directories": {
"output": "release/${version}",
"buildResources": "resources"
},
"files": ["dist"],
"win": {
"target": [
{
"target": "nsis",
"arch": ["x64"]
}
],
"artifactName": "${productName}-${version}-Setup.${ext}"
},
"nsis": {
"oneClick": false,
"perMachine": false,
"allowToChangeInstallationDirectory": true,
"deleteAppDataOnUninstall": false
},
"mac": {
"target": ["dmg"],
"artifactName": "${productName}-${version}-Installer.${ext}"
},
"linux": {
"target": ["AppImage"],
"artifactName": "${productName}-${version}-Installer.${ext}"
}
}