gaoshuaixing 3 years ago
parent
commit
538ffbf96b
2 changed files with 7 additions and 5 deletions
  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": {