Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

fix: 版本检查优化#520

Merged
RinLit-233-shiroko merged 8 commits into
Class-Widgets:mainfrom
baiyao105:Fix_21
Mar 18, 2025
Merged

fix: 版本检查优化#520
RinLit-233-shiroko merged 8 commits into
Class-Widgets:mainfrom
baiyao105:Fix_21

Conversation

@baiyao105

@baiyao105 baiyao105 commented Mar 16, 2025

Copy link
Copy Markdown
Member

总览

1. 版本检查优化

线程管理改进

在 network_thread.py 中引入了 _instance_running 类变量,确保同一时间只有一个版本检查线程运行。 将循环重试改为单次执行,避免冗余操作。 版本标准化处理

2. Beta 版本支持

Details

Beta 版本号格式为 -b 后缀,解析后赋予较低优先级。


fixed #516 && clone #516

@baiyao105 baiyao105 changed the title Fix 21 fix(version): 优化版本检查功能 Mar 16, 2025
@baiyao105

Copy link
Copy Markdown
Member Author

算是一种勉强的解决方法吧,更简单解决就是再json里面放versioncode

@xuanxuan1231 xuanxuan1231 changed the title fix(version): 优化版本检查功能 fix: 优化版本检查功能 Mar 16, 2025
@xuanxuan1231 xuanxuan1231 requested review from RinLit-233-shiroko and xuanxuan1231 and removed request for RinLit-233-shiroko March 17, 2025 12:13
@baiyao105 baiyao105 changed the title fix: 优化版本检查功能 fix: 版本检查优化 Mar 17, 2025
@xuanxuan1231

xuanxuan1231 commented Mar 18, 2025

Copy link
Copy Markdown
Member

建议试试 packaging.version.Version,可能会方便一些

@baiyao105 baiyao105 marked this pull request as draft March 18, 2025 14:56
Comment thread menu.py Outdated
Comment thread menu.py Outdated
@xuanxuan1231 xuanxuan1231 self-requested a review March 18, 2025 15:58
@xuanxuan1231

Copy link
Copy Markdown
Member
image

@RinLit-233-shiroko RinLit-233-shiroko marked this pull request as ready for review March 18, 2025 16:21
@RinLit-233-shiroko RinLit-233-shiroko merged commit abd7f66 into Class-Widgets:main Mar 18, 2025
pizeroLOL pushed a commit to pizeroLOL/Class-Widgets that referenced this pull request Aug 10, 2025
## 总览
### 1. 版本检查优化
<details><summary>线程管理改进</summary>
<p>
在 network_thread.py 中引入了 _instance_running 类变量,确保同一时间只有一个版本检查线程运行。
将循环重试改为单次执行,避免冗余操作。
版本标准化处理
       </p>
       </details> 

### 2. Beta 版本支持
<details><summary>Details</summary>
<p>
Beta 版本号格式为 -b 后缀,解析后赋予较低优先级。
</p>
</details> 

---

### fixed #516 && clone #516

---------

Co-authored-by: Wenxuan Shen <bushigemen114@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: 错误的更新通知

3 participants