Przeglądaj źródła

build(win): modify electron packaging target to portable on Windows platform to generate directly runnable exe

sw 1 miesiąc temu
rodzic
commit
fdb43ee274
1 zmienionych plików z 1 dodań i 4 usunięć
  1. 1 4
      electron-builder.json

+ 1 - 4
electron-builder.json

@@ -5,12 +5,9 @@
 
   "files": ["dist/h5/**/*", "main.js"],
   "win": {
-    "signtoolOptions": {
-      "sign": "./customSign.js"
-    },
     "target": [
       {
-        "target": "nsis",
+        "target": "portable",
         "arch": ["x64", "ia32"]
       }
     ]