diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index dc630df0..1a01c2c9 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -122,8 +122,6 @@ public static final class Config { public String startScript; - public boolean updatesNotify = true; // Defaultly to true - public String getAddress() { return address; } diff --git a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java index 7c1dfcbe..0bd6595c 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java +++ b/Launcher/src/main/java/ru/gravit/launcher/client/ClientLauncher.java @@ -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; }