瀏覽代碼

注释说明

gaoshuaixing 3 年之前
父節點
當前提交
a31ceb522c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      electron/config/encrypt.js

+ 2 - 2
electron/config/encrypt.js

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