瀏覽代碼

change windows target to nsis

MaysWind 3 年之前
父節點
當前提交
72fd9fac84
共有 1 個文件被更改,包括 6 次插入1 次删除
  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"
     }