fix: 整合包安装完成回调执行器不统一 (#6446)

This commit is contained in:
辞庐 authored and GitHub committed 2026-07-20 21:21:33 +08:00
1 parent b85be78166
commit 3320f6c341
1 file changed
+1 -1
@@ -231,7 +231,7 @@ public final class ModpackHelper {
.withStagesHints(new Task.StagesHint("hmcl.modpack"), new Task.StagesHint("hmcl.modpack.download", List.of("hmcl.install.assets", "hmcl.install.libraries")));
else
return modpack.getInstallTask(repository.getDependency(), zipFile, name, iconUrl)
.whenComplete(Schedulers.javafx(), success, failure)
.whenComplete(Schedulers.defaultScheduler(), success, failure)
.withStagesHints(new Task.StagesHint("hmcl.modpack"), new Task.StagesHint("hmcl.modpack.download", List.of("hmcl.install.assets", "hmcl.install.libraries")));
}