Skip to content

Commit dd3f642

Browse files
committed
* zip_package 压缩成压缩包文件名不能为中文,
1 parent 3cb1301 commit dd3f642

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

CONTRIBUTING.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
### 更新日志
22

3+
34
#### JadeV2.1.0 - 2023-11-20
4-
* 拷贝config文件和压缩文件夹,区分Linux和Windows
5+
* zip_package 压缩成压缩包文件名不能为中文,
56
---
67

7-
88
<details onclose>
99
<summary>查看更多更新日志</summary>
1010

11+
#### JadeV2.1.0 - 2023-11-20
12+
* 拷贝config文件和压缩文件夹,区分Linux和Windows
13+
---
14+
1115
#### JadeV2.0.9 - 2023-11-20
1216
* 拷贝config文件和压缩文件夹
1317
---

jade/jade_packing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,9 +1019,9 @@ def zip_package(args):
10191019
shutil.copy(os.path.join("config","config.ini"),os.path.join(install_path,"config"))
10201020
output_path = CreateSavePath("Output")
10211021
if getOperationSystem() == "Windows":
1022-
zip_file(install_path,"Output/{}-win32.zip".format(args.name + "V" + args.app_version))
1022+
zip_file(install_path,"Output/{}-win32.zip".format(args.app_name + "V" + args.app_version))
10231023
elif getOperationSystem() == "Linux":
1024-
zip_file(install_path,"Output/{}-liunx.zip".format(args.name + "V" + args.app_version))
1024+
zip_file(install_path,"Output/{}-liunx.zip".format(args.app_name + "V" + args.app_version))
10251025

10261026

10271027
if __name__ == '__main__':

0 commit comments

Comments
 (0)