mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-03 23:11:57 +03:00
ClientLauncher fixes.
This commit is contained in:
parent
bc0d2f48cb
commit
6fec76c07f
1 changed files with 2 additions and 6 deletions
|
@ -335,16 +335,12 @@ public static Process launch(
|
||||||
LogHelper.error(e);
|
LogHelper.error(e);
|
||||||
}
|
}
|
||||||
}).start();
|
}).start();
|
||||||
// Resolve java bin and set permissions
|
|
||||||
LogHelper.debug("Resolving JVM binary");
|
|
||||||
//Path javaBin = IOHelper.resolveJavaBin(jvmDir);
|
|
||||||
checkJVMBitsAndVersion();
|
checkJVMBitsAndVersion();
|
||||||
// Fill CLI arguments
|
// Fill CLI arguments
|
||||||
List<String> args = new LinkedList<>();
|
List<String> args = new LinkedList<>();
|
||||||
boolean wrapper = isUsingWrapper();
|
boolean wrapper = isUsingWrapper();
|
||||||
Path javaBin;
|
LogHelper.debug("Resolving JVM binary");
|
||||||
/*if (wrapper) javaBin = AvanguardStarter.wrapper;
|
Path javaBin = null;
|
||||||
else*/
|
|
||||||
if (isDownloadJava) {
|
if (isDownloadJava) {
|
||||||
//Linux и Mac не должны скачивать свою JVM
|
//Linux и Mac не должны скачивать свою JVM
|
||||||
if (JVMHelper.OS_TYPE == OS.MUSTDIE)
|
if (JVMHelper.OS_TYPE == OS.MUSTDIE)
|
||||||
|
|
Loading…
Reference in a new issue