Updated to use nsis on Windows

This commit is contained in:
Florian Rappl
2026-09-04 15:48:29 +02:00
parent 248d4bd664
commit 703cf8f880
2 changed files with 10 additions and 4 deletions

View File

@@ -117,6 +117,10 @@ The `electron.manifest.json` file format is deprecated. All configuration should
"mac": {
"icon": "Assets/app.icns",
"target": ["dmg", "zip"]
},
"nsis": {
"oneClick": true,
"perMachine": false
}
}
```

View File

@@ -48,17 +48,19 @@ You can also manually edit `electron-builder.json`:
```json
{
"linux": {
"target": [
"tar.xz"
]
"target": ["tar.xz"]
},
"win": {
"target": [
{
"target": "portable",
"target": "nsis",
"arch": "x64"
}
]
},
"nsis": {
"oneClick": true,
"perMachine": false
}
}
```