feat: Start 按钮安装/更新,有更新时显示「更新」 #22

Merged
layue13 merged 3 commits from merge/start-button-update into main 2026-11-10 14:47:10 +00:00
Owner

Summary

  • 首页 Start/Join:点按钮才安装/差分更新,打开启动器不自动拉包
  • 对比本地与 fileApi server-manifest,有更新时按钮显示「更新」
  • Completion 后写入远端 pack version

Test plan

  • 未安装:按钮为「开始游戏」,点击安装并进服
  • 已是最新:按钮为「进入服务器」
  • 远端 version/文件变更后:按钮变为「更新」,点击后差分再进服
## Summary - 首页 Start/Join:点按钮才安装/差分更新,打开启动器不自动拉包 - 对比本地与 fileApi `server-manifest`,有更新时按钮显示「更新」 - Completion 后写入远端 pack version ## Test plan - [ ] 未安装:按钮为「开始游戏」,点击安装并进服 - [ ] 已是最新:按钮为「进入服务器」 - [ ] 远端 version/文件变更后:按钮变为「更新」,点击后差分再进服
layue13 added 3 commits 2026-11-10 14:47:01 +00:00
ux: Start auto-installs client; hide install and instance UI
Mirror Repository / Mirror to CNB (push) Skipped
Mirror Repository / Mirror to Gitee (push) Skipped
Java CI / build (pull_request) Successful in 8m38s
a19679fd00
HMC-22: the home Join/Start button runs fileApi install when needed,
then joins. Differential updates stay on the launch completion path.
Remove the instance-management sidebar entry and stop opening the
modpack install wizard from startup, empty launch, or drag-drop.
Bring in ensureClientAndJoin so first install and updates are triggered by the home Start/Join button, not by opening the launcher. Differential updates still run on the launch completion path.

Co-authored-by: Cursor <cursoragent@cursor.com>
feat: show Update on home button when client pack is behind
Mirror Repository / Mirror to CNB (push) Skipped
Mirror Repository / Mirror to Gitee (push) Skipped
Java CI / build (pull_request) Successful in 14m46s
adbdc85735
Compare the installed server-manifest version and file hashes with fileApi on the home page, and switch the Start button to Update when a differential sync is needed. Also persist the remote pack version after completion.

Co-authored-by: Cursor <cursoragent@cursor.com>
layue13 merged commit eb7fb914cb into main 2026-11-10 14:47:10 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TDLM/HMCL#22