gaoshuaixing 3 年之前
父节点
当前提交
dac9dba257
共有 4 个文件被更改,包括 17 次插入13 次删除
  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 = {
   config.hardGpu = {
     enable: false
     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",
   "name": "ee",
-  "version": "2.1.9",
+  "version": "2.2.0",
   "description": "A fast, desktop software development framework",
   "description": "A fast, desktop software development framework",
   "main": "main.js",
   "main": "main.js",
   "scripts": {
   "scripts": {
@@ -116,7 +116,7 @@
   "dependencies": {
   "dependencies": {
     "dayjs": "^1.10.7",
     "dayjs": "^1.10.7",
     "better-sqlite3": "^7.6.0",
     "better-sqlite3": "^7.6.0",
-    "ee-core": "^1.3.0",
+    "ee-core": "^1.3.1",
     "electron-is": "^3.0.0",
     "electron-is": "^3.0.0",
     "lodash": "^4.17.21"
     "lodash": "^4.17.21"
   }
   }

+ 3 - 0
update.md

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