mirror of
https://github.com/HMCL-dev/HMCL.git
synced 2026-10-17 05:31:22 +08:00
fix: 更改模组加载器版本时下载依赖项任务未正确归类 (#6777)
This commit is contained in:
+2
-1
@@ -74,9 +74,10 @@ public final class UpdateInstallerWizardProvider implements WizardProvider {
|
||||
var hints = new ArrayList<Task.StagesHint>();
|
||||
for (Object value : settings.asStringMap().values()) {
|
||||
if (value instanceof RemoteVersion remoteVersion) {
|
||||
hints.add(new Task.StagesHint("hmcl.install.libraries"));
|
||||
|
||||
hints.add(new Task.StagesHint(String.format("hmcl.install.%s:%s", remoteVersion.getComponentType().getPatchId(), remoteVersion.getSelfVersion())));
|
||||
if (remoteVersion.getComponentType() == GameComponentType.GAME) {
|
||||
hints.add(new Task.StagesHint("hmcl.install.libraries"));
|
||||
hints.add(new Task.StagesHint("hmcl.install.assets"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user