diff options
Diffstat (limited to 'packages/meshbay-client/package.json')
| -rw-r--r-- | packages/meshbay-client/package.json | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/packages/meshbay-client/package.json b/packages/meshbay-client/package.json index 42af9c5..57acff8 100644 --- a/packages/meshbay-client/package.json +++ b/packages/meshbay-client/package.json @@ -10,7 +10,8 @@ "scripts": { "start": "electron .", "sync-ui": "node scripts/sync-ui.js", - "dist": "bash ../../packaging/build/build-client.sh" + "dist": "bash ../../packaging/build/build-client.sh", + "dist:win": "powershell -NoProfile -ExecutionPolicy Bypass -File ../../packaging/win/build-win.ps1" }, "devDependencies": { "electron": "^44.1.1", @@ -22,7 +23,29 @@ "files": [ "src/**", "ui/**" - ] + ], + "win": { + "target": "nsis", + "icon": "build/icon.ico", + "artifactName": "${productName}-Setup-${version}.${ext}", + "extraResources": [ + { + "from": "node-runtime", + "to": "node-runtime", + "filter": ["**/*"] + } + ] + }, + "nsis": { + "oneClick": false, + "perMachine": false, + "allowElevation": false, + "allowToChangeInstallationDirectory": true, + "createDesktopShortcut": true, + "createStartMenuShortcut": true, + "deleteAppDataOnUninstall": false, + "runAfterFinish": true + } }, "dependencies": { "bonjour-service": "^1.4.4", |