change electron-build config file foramt
This commit is contained in:
1 parent
3e407af2d6
commit
fb20b1f949
2 files changed
+34
-38
No files matched your search
@@ -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}"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user