mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
Исправлегия автосгенерированного конфига
This commit is contained in:
parent
45666e6090
commit
d6b8394016
1 changed files with 3 additions and 0 deletions
|
@ -156,6 +156,9 @@ private static void generateConfigIfNotExists() throws IOException {
|
|||
newConfig.login = "login";
|
||||
newConfig.password = "password";
|
||||
newConfig.mainclass = "";
|
||||
newConfig.syncAuth = true;
|
||||
newConfig.reconnectCount = 10;
|
||||
newConfig.reconnectSleep = 1000;
|
||||
//try(Reader reader = IOHelper.newReader(IOHelper.getResourceURL("ru/gravit/launcher/server/ServerWrapper.cfg")))
|
||||
//{
|
||||
// newConfig = gson.fromJson(reader,Config.class);
|
||||
|
|
Loading…
Reference in a new issue