Skip to content

Commit

Permalink
fix(nozip): 修复nozip参数的bug
Browse files Browse the repository at this point in the history
  • Loading branch information
QinGeneral committed Sep 30, 2018
1 parent c023231 commit a54743f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Cocos Creator 在构建的时候支持对脚本进行加密和压缩。

<img src="https://camo.githubusercontent.com/a958d311700ec37fb2ffb8b943a153ea3a8fd929/687474703a2f2f6f6e6d7737793666342e626b742e636c6f7564646e2e636f6d2f6a73632d656e646563727970742e706e67" alt="" data-canonical-src="http://onmw7y6f4.bkt.clouddn.com/jsc-endecrypt.png" width="283">

> 此 master 分支的脚本适用于 CocosCreator 1.x 编译导出的 jsc文件,如果你使用的 CocosCreator 为 2.0.2 版本,请切换到 v2.0 分支。
## 使用说明

### 命令行使用
Expand Down
2 changes: 1 addition & 1 deletion edc.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ def main():
key = ''
path = ''

if options.nozip is True:
if options.nozip == 'true':
is_zip = False
if options.key is not None:
key = options.key
Expand Down

0 comments on commit a54743f

Please sign in to comment.