mirror of
https://github.com/SKCraft/Launcher.git
synced 2025-02-16 01:41:22 +01:00
Attempt to solve Windows Java finding failing to find MC folder
This commit is contained in:
parent
932ef97be6
commit
4dad66a83e
@ -39,7 +39,6 @@ public final class JavaRuntimeFinder {
|
||||
"SOFTWARE\\Mojang\\InstalledProducts\\Minecraft Launcher", "InstallLocation");
|
||||
|
||||
launcherDir = new File(launcherPath);
|
||||
if (!launcherDir.exists()) throw new Exception(); // i know i know
|
||||
} catch (Throwable ignored) {
|
||||
launcherDir = new File(System.getenv("APPDATA"), ".minecraft");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user