File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11### 更新日志
22
3- #### JadeV2.3.0 - 2024-06-18
4- * 优化数据库父类方法
3+ #### JadeV2.3.1 - 2024-06-18
4+ * 优化获取版本信息的方法
55---
66
7-
87<details onclose >
98<summary >查看更多更新日志</summary >
109
10+ #### JadeV2.3.0 - 2024-06-18
11+ * 优化数据库父类方法
12+ ---
13+
14+
1115#### JadeV2.2.9 - 2024-06-13
1216* 解决获取父进程异常的bug
1317---
Original file line number Diff line number Diff line change @@ -1022,8 +1022,7 @@ def packAPP(args):
10221022def get_app_version ():
10231023 try :
10241024 with open ("CONTRIBUTING.md" ,"rb" ) as f :
1025- content = str (f .read (),encoding = "utf-8" ).split ("#### " )[1 ].split (" - " )[0 ]
1026- version = ""
1025+ content = str (f .read (),encoding = "utf-8" ).split (" - " )[0 ].split ("#" )[- 1 ].strip ()
10271026 if "v" in content and "V" in content :
10281027 version = content .split ("V" )[- 1 ]
10291028 elif "v" in content :
You can’t perform that action at this time.
0 commit comments