gaoshuaixing 3 年之前
父节点
当前提交
538ffbf96b
共有 2 个文件被更改,包括 7 次插入5 次删除
  1. 6 4
      electron/config/encrypt.js
  2. 1 1
      package.json

+ 6 - 4
electron/config/encrypt.js

@@ -1,11 +1,13 @@
 /**
  * 加密配置
+ * @param {String} type - strict (first confusion and then bytecode) || bytecode || confusion
+ * @param {Array} directory - directory to be encrypted
+ * @param {Array} fileExt - file suffix to be encrypted, currently only .js is supported
  */
-module.exports = {
-  type: 'bytecode', // bytecode | confusion
+ module.exports = {
+  type: 'strict',
   directory: [
     'electron'
   ],
   fileExt: ['.js'],
-};
-
+};

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
   "name": "ee",
-  "version": "2.2.2",
+  "version": "2.3.0",
   "description": "A fast, desktop software development framework",
   "main": "main.js",
   "scripts": {