Sfoglia il codice sorgente

feat: 打包调整

zhangjie 8 mesi fa
parent
commit
a45df5d9a5
2 ha cambiato i file con 7 aggiunte e 3 eliminazioni
  1. 1 1
      src/modules/client/components/ScanAreaSteps.vue
  2. 6 2
      vue.config.js

+ 1 - 1
src/modules/client/components/ScanAreaSteps.vue

@@ -121,7 +121,7 @@ export default {
           title: "图片方向设置"
         }
       ];
-      this.stepList = this.clientConfig.packageScan
+      this.stepList = !this.clientConfig.packageScan
         ? steps.splice(4, 1)
         : steps;
     },

+ 6 - 2
vue.config.js

@@ -39,8 +39,12 @@ var config = {
           "sense_shield_installer_pub_2.2.0.46331.exe"
         ],
         win: {
-          target: "portable",
-          signAndEditExecutable: false
+          target: [
+            {
+              target: "dir", // "dir" 表示 win-unpacked
+              arch: ["x64"] // 可以指定 "x64", "ia32" 或 "arm64",根据需要选择
+            }
+          ]
         }
       }
     }