mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-22 16:41:46 +03:00
[FIX] Удален параметр updatesNotify и добавлено время ожидания к ClientLauncher.launch
This commit is contained in:
parent
64f865fa47
commit
3f887ef619
2 changed files with 2 additions and 3 deletions
|
@ -122,8 +122,6 @@ public static final class Config {
|
|||
|
||||
public String startScript;
|
||||
|
||||
public boolean updatesNotify = true; // Defaultly to true
|
||||
|
||||
public String getAddress() {
|
||||
return address;
|
||||
}
|
||||
|
|
|
@ -302,7 +302,7 @@ public static Process launch(
|
|||
// Write params file (instead of CLI; Mustdie32 API can't handle command line > 32767 chars)
|
||||
LogHelper.debug("Writing ClientLauncher params");
|
||||
ClientLauncherContext context = new ClientLauncherContext();
|
||||
CommonHelper.newThread("Client params writter", false, () ->
|
||||
CommonHelper.newThread("Client params writter", true, () ->
|
||||
{
|
||||
try {
|
||||
try (ServerSocket socket = new ServerSocket()) {
|
||||
|
@ -388,6 +388,7 @@ public static Process launch(
|
|||
}
|
||||
// Let's rock!
|
||||
process = builder.start();
|
||||
if(!LogHelper.isDebugEnabled()) Thread.sleep(1000); //даем время потоку записи
|
||||
return process;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue