gaoshuaixing 3 years ago
parent
commit
dac9dba257
4 changed files with 17 additions and 13 deletions
  1. 0 11
      electron/config/config.default.js
  2. 12 0
      electron/config/encrypt.js
  3. 2 2
      package.json
  4. 3 0
      update.md

+ 0 - 11
electron/config/config.default.js

@@ -121,17 +121,6 @@ module.exports = (appInfo) => {
    */
   config.hardGpu = {
     enable: false
-  };   
-
-  /**
-   * 加密配置
-   */
-  config.encrypt = {
-    type: 'bytecode', // bytecode | confusion
-    directory: [
-      'electron'
-    ],
-    fileExt: ['.js'],
   };
 
   /* 应用自动升级 (可选) */

+ 12 - 0
electron/config/encrypt.js

@@ -0,0 +1,12 @@
+
+/**
+ * 加密配置
+ */
+module.exports = {
+  type: 'bytecode', // bytecode | confusion
+  directory: [
+    'electron'
+  ],
+  fileExt: ['.js'],
+};
+

+ 2 - 2
package.json

@@ -1,6 +1,6 @@
 {
   "name": "ee",
-  "version": "2.1.9",
+  "version": "2.2.0",
   "description": "A fast, desktop software development framework",
   "main": "main.js",
   "scripts": {
@@ -116,7 +116,7 @@
   "dependencies": {
     "dayjs": "^1.10.7",
     "better-sqlite3": "^7.6.0",
-    "ee-core": "^1.3.0",
+    "ee-core": "^1.3.1",
     "electron-is": "^3.0.0",
     "lodash": "^4.17.21"
   }

+ 3 - 0
update.md

@@ -1,3 +1,6 @@
+## 2.2.0
+1. 修复加密配置
+
 ## 2.1.9
 1. 增加bytecode字节码加密的配置文件
 2. 增加加密类型、目录、文件后缀可扩展