Skip to content

Commit c34889c

Browse files
committed
* zip_package Linux生成文件名修改
1 parent 3bfc9cb commit c34889c

3 files changed

Lines changed: 11 additions & 13 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

33

4-
#### JadeV2.1.1 - 2023-11-20
5-
* zip_package 压缩成压缩包文件名不能为中文,
4+
#### JadeV2.1.2 - 2023-11-20
5+
* zip_package Linux生成文件名修改
66
---
77

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

11+
#### JadeV2.1.1 - 2023-11-20
12+
* zip_package 压缩成压缩包文件名不能为中文,
13+
---
14+
1115
#### JadeV2.1.0 - 2023-11-20
1216
* 拷贝config文件和压缩文件夹,区分Linux和Windows
1317
---

jade/jade_packing.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@ def zip_package(args):
10211021
if getOperationSystem() == "Windows":
10221022
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.app_name + "V" + args.app_version))
1024+
zip_file(install_path,"Output/{}-linux.zip".format(args.app_name + "V" + args.app_version))
10251025

10261026

10271027
if __name__ == '__main__':

test.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,8 @@ def test_print_a():
2626
print(a.decode("utf-8"))
2727

2828

29-
if __name__ == '__main__':
30-
count = 0
31-
32-
33-
def increase_count(count):
34-
count += 1
29+
def test_get_version():
30+
write_version("jade")
3531

36-
37-
print(count) # 输出0
38-
increase_count(count)
39-
print(count)
32+
if __name__ == '__main__':
33+
test_get_version()

0 commit comments

Comments
 (0)