Skip to content

Commit 0cf404c

Browse files
committed
* 编译的时候也需要将lib包拷贝到release文件夹下
1 parent b48f101 commit 0cf404c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

jade/jade_packing.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,14 @@ def packAPP(args):
943943
if os.path.exists("file_verison_info.txt"):
944944
os.remove("file_verison_info.txt")
945945

946+
save_path = CreateSavePath(os.path.join("releases", args.name + "V" + args.app_version))
947+
if os.path.exists("{}/{}".format(getOperationSystem(), save_path)) is True:
948+
shutil.rmtree("{}/{}".format(getOperationSystem(), save_path))
949+
save_bin_path = CreateSavePath(os.path.join(save_path, getOperationSystem()))
950+
# copy_dir("config", save_bin_path)
951+
if args.lib_path:
952+
copy_dir(args.lib_path, save_bin_path)
953+
946954
def get_app_version():
947955
try:
948956
with open("CONTRIBUTING.md","rb") as f:

0 commit comments

Comments
 (0)