mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +03:00
Передача launcher.debug
This commit is contained in:
parent
300e8cfcec
commit
ec3a1d9bb0
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ public static void main(String[] arguments) throws IOException, InterruptedExcep
|
|||
String pathLauncher = IOHelper.getCodeSource(ClientLauncher.class).toString();
|
||||
Collections.addAll(args, "-javaagent:".concat(pathLauncher));
|
||||
Collections.addAll(args, LauncherEngine.class.getName());
|
||||
args.add(JVMHelper.jvmProperty(LogHelper.DEBUG_PROPERTY, Boolean.toString(LogHelper.isDebugEnabled())));
|
||||
EnvHelper.addEnv(processBuilder);
|
||||
processBuilder.command(args);
|
||||
Process process = processBuilder.start();
|
||||
|
|
Loading…
Reference in a new issue