feat: use nsis-web instead of nsis

This commit is contained in:
JellyBrick
2023-10-08 03:04:53 +09:00
parent f87607d25d
commit 0ef34d7c71

View File

@ -59,7 +59,7 @@
"icon": "assets/generated/icons/win/icon.ico", "icon": "assets/generated/icons/win/icon.ico",
"target": [ "target": [
{ {
"target": "nsis", "target": "nsis-web",
"arch": [ "arch": [
"x64", "x64",
"ia32", "ia32",
@ -76,7 +76,7 @@
} }
] ]
}, },
"nsis": { "nsisWeb": {
"runAfterFinish": false "runAfterFinish": false
}, },
"linux": { "linux": {
@ -119,7 +119,7 @@
"dist:mac": "npm run clean && npm run build && electron-builder --mac dmg:x64 -p never", "dist:mac": "npm run clean && npm run build && electron-builder --mac dmg:x64 -p never",
"dist:mac:arm64": "npm run clean && npm run build && electron-builder --mac dmg:arm64 -p never", "dist:mac:arm64": "npm run clean && npm run build && electron-builder --mac dmg:arm64 -p never",
"dist:win": "npm run clean && npm run build && electron-builder --win -p never", "dist:win": "npm run clean && npm run build && electron-builder --win -p never",
"dist:win:x64": "npm run clean && npm run build && electron-builder --win nsis:x64 -p never", "dist:win:x64": "npm run clean && npm run build && electron-builder --win nsis-web:x64 -p never",
"lint": "eslint .", "lint": "eslint .",
"changelog": "auto-changelog", "changelog": "auto-changelog",
"plugins": "npm run plugin:bypass-age-restrictions", "plugins": "npm run plugin:bypass-age-restrictions",