fix(javafx): should download javafx at beginning, not let user choose download source first.

This commit is contained in:
huanghongxun
2021-10-13 13:58:33 +08:00
parent 3fad76aae1
commit 673bc75cd5
3 changed files with 31 additions and 39 deletions

View File

@@ -17,7 +17,6 @@
*/
package org.jackhuang.hmcl.game;
import org.jackhuang.hmcl.util.Pair;
import org.jackhuang.hmcl.util.Range;
import org.jackhuang.hmcl.util.platform.Architecture;
import org.jackhuang.hmcl.util.platform.JavaVersion;
@@ -28,7 +27,6 @@ import org.jetbrains.annotations.Nullable;
import java.util.Objects;
import static org.jackhuang.hmcl.download.LibraryAnalyzer.LAUNCH_WRAPPER_MAIN;
import static org.jackhuang.hmcl.util.Pair.pair;
public enum JavaVersionConstraint {