mirror of
https://github.com/Pandipipas/scoreko-electron-dev.git
synced 2026-06-05 21:22:07 +00:00
Add before-pack script and installer configuration for NSIS
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
"dist:mac": "npm run build && npm run rebuild:native && electron-builder --mac"
|
||||
},
|
||||
"build": {
|
||||
"beforePack": "./scripts/before-pack.mjs",
|
||||
"appId": "com.scoreko.desktop",
|
||||
"productName": "Scoreko",
|
||||
"artifactName": "${productName}-${version}-${os}-${arch}.${ext}",
|
||||
@@ -81,6 +82,7 @@
|
||||
"signAndEditExecutable": true
|
||||
},
|
||||
"nsis": {
|
||||
"include": "static/installer.nsh",
|
||||
"oneClick": false,
|
||||
"allowToChangeInstallationDirectory": true,
|
||||
"artifactName": "${productName}-setup-${version}.${ext}",
|
||||
|
||||
Reference in New Issue
Block a user