mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-04 15:31:53 +03:00
Merge remote-tracking branch 'origin/dev' into feature/gradleRewrite
This commit is contained in:
commit
8475d92362
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ public String getName() {
|
||||||
@Override
|
@Override
|
||||||
public Path getJavaBinPath() {
|
public Path getJavaBinPath() {
|
||||||
if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE)
|
if (JVMHelper.OS_TYPE == JVMHelper.OS.MUSTDIE)
|
||||||
return ClientLauncher.getJavaBinPath();
|
return IOHelper.resolveJavaBin(ClientLauncher.getJavaBinPath());
|
||||||
else
|
else
|
||||||
return IOHelper.resolveJavaBin(Paths.get(System.getProperty("java.home")));
|
return IOHelper.resolveJavaBin(Paths.get(System.getProperty("java.home")));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue