Skip to content

Conversation

@ZZZank
Copy link
Contributor

@ZZZank ZZZank commented Nov 21, 2025

recor.mp4

Fixes #3459

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds the ability to check updates for selected mods, rather than always checking all mods. The feature allows users to either check updates for all mods (via the normal toolbar) or only for selected mods (via the selection toolbar).

Key Changes:

  • Modified checkUpdates() method to accept a collection of mods as a parameter
  • Added "Check Updates" button to the selection toolbar for updating only selected mods
  • Normal toolbar "Check Updates" button now explicitly passes all mods from the list view

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
ModListPage.java Updated checkUpdates() method signature to accept a Collection<LocalModFile> parameter and added null check
ModListPageSkin.java Added "Check Updates" button to selection toolbar and updated normal toolbar button to pass all visible mods to the new method signature

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/ModListPageSkin.java
@Glavo Glavo merged commit 18a8556 into HMCL-dev:main Jan 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] 多选 MOD 更新

2 participants