mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +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