[Bug] 检查模组更新行为后的提示不完全正确
Open
Nobody has claimed this yet.
bug
- Dominant language
- Java
- Stars
- 10.1k
- Forks
- 934
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 82
Description
问题描述 | Bug Description
在实例管理页面-模组管理中点击检查更新,点击取消后会提示“更新失败”(如下图所示)。
希望能显示失败的具体原因,比如“用户取消了操作”“网络异常”等。
对于网络异常以及无网络连接时进行更新模组的行为,即使未能成功检查更新,依旧会显示“没有需要更新的模组”(如下图所示)。
HMCL 应该优先检查网络连通性。
启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File
N/A
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the instance management module-update flow and reproduce both cancelling the update check and checking for updates without a network connection. Trace how these outcomes are reported; done means cancellation and network failures show specific reasons, while a failed check does not report that no modules need updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100