We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc3f2e3 commit 46a8908Copy full SHA for 46a8908
2 files changed
CONTRIBUTING.md
@@ -1,13 +1,17 @@
1
### 更新日志
2
3
-#### JadeV2.3.0 - 2024-06-18
4
-* 优化数据库父类方法
+#### JadeV2.3.1 - 2024-06-18
+* 优化获取版本信息的方法
5
---
6
7
-
8
<details onclose>
9
<summary>查看更多更新日志</summary>
10
+#### JadeV2.3.0 - 2024-06-18
11
+* 优化数据库父类方法
12
+---
13
+
14
15
#### JadeV2.2.9 - 2024-06-13
16
* 解决获取父进程异常的bug
17
jade/jade_packing.py
@@ -1022,8 +1022,7 @@ def packAPP(args):
1022
def get_app_version():
1023
try:
1024
with open("CONTRIBUTING.md","rb") as f:
1025
- content = str(f.read(),encoding="utf-8").split("#### ")[1].split(" - ")[0]
1026
- version = ""
+ content = str(f.read(),encoding="utf-8").split(" - ")[0].split("#")[-1].strip()
1027
if "v" in content and "V" in content:
1028
version = content.split("V")[-1]
1029
elif "v" in content:
0 commit comments