File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 11### 更新日志
22
3- #### JadeV2.0.2 - 2023-05-08
4- * 初始化的时候就需要校验feature id 是否存在
3+ #### JadeV2.0.3 - 2023-05-11
4+ * 打包的时候新增是否压缩lib包参数
55---
66
7+
78<details onclose >
89<summary >查看更多更新日志</summary >
910
11+ #### JadeV2.0.2 - 2023-05-08
12+ * 初始化的时候就需要校验feature id 是否存在
13+ ---
14+
1015#### JadeV2.0.1 - 2023-05-08
1116* 加密狗如果没有feature id或者获取feature id失败时,需要退出会话
1217---
Original file line number Diff line number Diff line change @@ -978,7 +978,14 @@ def zip_lib_package(args):
978978 CreateSavePath ("Output" )
979979 install_path = os .path .join (os .getcwd (),
980980 "releases/{}/{}" .format (args .name + "V" + args .app_version , getOperationSystem ()))
981- zip_file (os .path .join (install_path , args .lib_path ), os .path .join ("Output/{}.zip" .format (args .lib_path )))
981+
982+ is_zip_lib = True
983+ try :
984+ is_zip_lib = str_to_bool (args .zip_lib )
985+ except :
986+ pass
987+ if is_zip_lib :
988+ zip_file (os .path .join (install_path , args .lib_path ), os .path .join ("Output/{}.zip" .format (args .lib_path )))
982989 if os .path .exists (os .path .join (install_path ,args .app_name )):
983990 shutil .copy (os .path .join (install_path ,args .app_name ),os .path .join ("Output/{}" .format (args .app_name )))
984991
You can’t perform that action at this time.
0 commit comments