mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Ещё 1 подарочек...
This commit is contained in:
parent
555c6a6c0b
commit
29ed4c5cf7
1 changed files with 7 additions and 0 deletions
|
@ -414,9 +414,16 @@ public static Process launch(
|
|||
builder.redirectErrorStream(true);
|
||||
builder.redirectOutput(Redirect.PIPE);
|
||||
}
|
||||
List<String> command = builder.command();
|
||||
// Let's rock!
|
||||
ClientHookManager.preStartHook.hook(context, builder);
|
||||
process = builder.start();
|
||||
if (builder.command() != command) {
|
||||
LogHelper.error("Something strange cheating...");
|
||||
System.exit(100);
|
||||
clientStarted = false;
|
||||
return null;
|
||||
}
|
||||
if(ClientHookManager.postStartHook.hook(context, builder)) return process;
|
||||
if (!pipeOutput) {
|
||||
for (int i = 0; i < 50; ++i) {
|
||||
|
|
Loading…
Reference in a new issue