Jelajahi Sumber

mod:配置文件调整

panqiuyao 1 tahun lalu
induk
melakukan
b9afa1909e

+ 2 - 2
electron/config/bin.js

@@ -8,7 +8,7 @@ module.exports = {
    * ee-bin dev
    */
   dev: {
-    frontend: {
+/*    frontend: {
       directory: "./frontend",
       cmd: "npm",
       args: ["run", "dev"],
@@ -16,7 +16,7 @@ module.exports = {
       hostname: "localhost",
       port: 8080,
       indexPath: "index.html",
-    },
+    },*/
     electron: {
       directory: "./",
       cmd: "electron",

+ 1 - 1
electron/config/config.default.js

@@ -57,7 +57,7 @@ module.exports = (appInfo) => {
    * 远程模式-web地址
    */
   config.remoteUrl = {
-    enable: true,
+    enable: false,
     url: 'http://tkk.pubdata.cn'
   };
 

+ 10 - 1
electron/config/config.local.js

@@ -31,7 +31,8 @@ module.exports = (appInfo) => {
   /**
    * 应用程序顶部菜单
    */
-  config.openAppMenu = true;
+  config.openAppMenu = false;
+
 
   /**
    * jobs
@@ -40,6 +41,14 @@ module.exports = (appInfo) => {
     messageLog: true,
   };
 
+  /**
+   * 远程模式-web地址
+   */
+  config.remoteUrl = {
+    enable: true,
+    url: 'http://tkk.pubdata.cn'
+  };
+
   return {
     ...config,
   };

+ 8 - 1
electron/config/config.prod.js

@@ -21,7 +21,14 @@ module.exports = (appInfo) => {
    */
   config.jobs = {
     messageLog: false
-  }; 
+  };
+  /**
+   * 远程模式-web地址
+   */
+  config.remoteUrl = {
+    enable: true,
+    url: 'https://tkk.valimart.net'
+  };
 
   return {
     ...config