HMCL-dev / HMCL-dev/HMCL

[Bug] 检查模组更新行为后的提示不完全正确

Open
#5,471 0 comments 0 reactions 0 assignees View on GitHub

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

在实例管理页面-模组管理中点击检查更新,点击取消后会提示“更新失败”(如下图所示)。

Image

希望能显示失败的具体原因,比如“用户取消了操作”“网络异常”等。


对于网络异常以及无网络连接时进行更新模组的行为,即使未能成功检查更新,依旧会显示“没有需要更新的模组”(如下图所示)。
HMCL 应该优先检查网络连通性。

Image Image
启动器崩溃报告 / 启动器日志文件 | Launcher Crash Report / Launcher Log File

N/A

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.