File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33
44
5- #### JadeV1.9.6 - 2023-04-03
6- * 编译的时候也需要将lib包拷贝到release文件夹下
5+ #### JadeV1.9.7 - 2023-04-03
6+ * 如果可执行文件存在的化,则拷贝Output文件夹,如果不存在则不拷贝
77---
88
99
10-
1110<details onclose >
1211<summary >查看更多更新日志</summary >
1312
13+ #### JadeV1.9.6 - 2023-04-03
14+ * 编译的时候也需要将lib包拷贝到release文件夹下
15+ ---
16+
17+
1418#### JadeV1.9.5 - 2023-04-03
1519* 压缩lib包时,需要判断是否有可执行文件
1620---
Original file line number Diff line number Diff line change @@ -974,13 +974,14 @@ def write_version(package_name):
974974 with open ("{}/version.py" .format (package_name ),"wb" ) as f :
975975 f .write ("full_version = '{}'\n " .format (get_app_version ()).encode ("utf-8" ))
976976
977- def zip_lib_package (args , is_exec = True ):
977+ 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 ()))
981981 zip_file (os .path .join (install_path , args .lib_path ), os .path .join ("Output/{}.zip" .format (args .lib_path )))
982- if is_exec :
982+ if os . path . exists ( os . path . join ( install_path , args . app_name )) :
983983 shutil .copy (os .path .join (install_path ,args .app_name ),os .path .join ("Output/{}" .format (args .app_name )))
984+
984985if __name__ == '__main__' :
985986 import argparse
986987
You can’t perform that action at this time.
0 commit comments