gsx 3 years ago
parent
commit
3ddf74d051
3 changed files with 13 additions and 4 deletions
  1. 1 3
      electron/config/encrypt.js
  2. 1 1
      package.json
  3. 11 0
      update.md

+ 1 - 3
electron/config/encrypt.js

@@ -14,9 +14,7 @@ module.exports = {
   confusionOptions: {
     compact: true, // 将代码压缩为1行        
     stringArray: true, // 删除字符串文本并将其放置在特殊数组中
-    stringArrayEncoding: ['none'], // 对stringArray编码 'none', 'base64', 'rc4',增加安全性
-    disableConsoleOutput: true, // 禁止console输出
+    stringArrayEncoding: ['base64'], // 对stringArray编码 'none', 'base64', 'rc4',增加安全性
     deadCodeInjection: false, // 是否注入死代码
-    debugProtection: true // 是否禁用debug
   }
 };

+ 1 - 1
package.json

@@ -112,7 +112,7 @@
   "dependencies": {
     "better-sqlite3": "^7.6.0",
     "dayjs": "^1.10.7",
-    "ee-core": "^1.4.1-beta.2",
+    "ee-core": "^1.4.1",
     "electron-is": "^3.0.0",
     "electron-updater": "^5.3.0",
     "lodash": "^4.17.21"

+ 11 - 0
update.md

@@ -1,3 +1,14 @@
+## 2.4.0
+1. 增加混淆/bytecode加密配置opt,提升安全性
+2. 增加插件的方式重写托盘、唤醒、升级、安全、扩展等功能
+3. 增加java服务插件,感谢“zuihou”提供的PR
+4. 增加jave服务demo,jar等完整用例
+5. 增加Utils库函数:getEnv/getAppUserDataDir/getHomeDir/getBaseDir/
+    getRootDir/getAppVersion/getExecDir/getAddonConfig/
+    getMainServerConfig/getHttpServerConfig/getSocketServerConfig
+6. 移除多余代码
+7. 升级ee-core到1.4.1
+
 ## 2.3.0
 1. 增加addon插件模块,开发者可以自由扩展app对象
 2. 内置window插件,实现多窗口通信