mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
[FIX] Фикс NPE при использовании врапперов
This commit is contained in:
parent
d278641add
commit
52c470b487
1 changed files with 1 additions and 0 deletions
|
@ -375,6 +375,7 @@ public static Process launch(
|
||||||
// Build client process
|
// Build client process
|
||||||
LogHelper.debug("Launching client instance");
|
LogHelper.debug("Launching client instance");
|
||||||
ProcessBuilder builder = new ProcessBuilder(context.args);
|
ProcessBuilder builder = new ProcessBuilder(context.args);
|
||||||
|
context.builder = builder;
|
||||||
LauncherGuardManager.guard.addCustomEnv(context);
|
LauncherGuardManager.guard.addCustomEnv(context);
|
||||||
//else
|
//else
|
||||||
//builder.environment().put("CLASSPATH", classPathString.toString());
|
//builder.environment().put("CLASSPATH", classPathString.toString());
|
||||||
|
|
Loading…
Reference in a new issue