Browse Source

change windows target to nsis

MaysWind 3 years ago
parent
commit
72fd9fac84
1 changed files with 6 additions and 1 deletions
  1. 6 1
      package.json

+ 6 - 1
package.json

@@ -120,7 +120,7 @@
       "icon": "assets/AriaNg.ico",
       "target": [
         {
-          "target": "msi",
+          "target": "nsis",
           "arch": [
             "x64",
             "ia32"
@@ -181,6 +181,11 @@
       ],
       "darkModeSupport": true
     },
+    "nsis": {
+      "oneClick": false,
+      "perMachine": true,
+      "allowToChangeInstallationDirectory": true
+    },
     "dmg": {
       "icon": "assets/AriaNg.icns"
     }