mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 03:31:15 +03:00
[FIX] Java search in Windows
This commit is contained in:
parent
f9c644ff4e
commit
7ad308cc23
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ public static String getIP(SocketAddress address) {
|
|||
public static Path getRoot() {
|
||||
switch (JVMHelper.OS_TYPE) {
|
||||
case MUSTDIE: {
|
||||
String drive = System.getenv("SystemDrive");
|
||||
String drive = System.getenv("SystemDrive").concat("\\");
|
||||
return Paths.get(drive);
|
||||
}
|
||||
case LINUX:
|
||||
|
|
Loading…
Reference in a new issue