Modify the path where openjfx is placed

This commit is contained in:
Glavo 2022-01-18 12:23:45 +08:00 committed by Yuhui Huang
parent 05fdea3267
commit c6894a1e95

View File

@ -75,7 +75,7 @@ public final class SelfDependencyPatcher {
static class DependencyDescriptor {
private static final Path DEPENDENCIES_DIR_PATH = HMCL_DIRECTORY.resolve("dependencies");
private static final Path DEPENDENCIES_DIR_PATH = HMCL_DIRECTORY.resolve("dependencies").resolve(Platform.getPlatform().toString()).resolve("openjfx");
public static final List<DependencyDescriptor> JFX_DEPENDENCIES = readDependencies();
private static List<DependencyDescriptor> readDependencies() {