mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-04 07:21:57 +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.login = "login";
|
||||||
newConfig.password = "password";
|
newConfig.password = "password";
|
||||||
newConfig.mainclass = "";
|
newConfig.mainclass = "";
|
||||||
|
newConfig.syncAuth = true;
|
||||||
|
newConfig.reconnectCount = 10;
|
||||||
|
newConfig.reconnectSleep = 1000;
|
||||||
//try(Reader reader = IOHelper.newReader(IOHelper.getResourceURL("ru/gravit/launcher/server/ServerWrapper.cfg")))
|
//try(Reader reader = IOHelper.newReader(IOHelper.getResourceURL("ru/gravit/launcher/server/ServerWrapper.cfg")))
|
||||||
//{
|
//{
|
||||||
// newConfig = gson.fromJson(reader,Config.class);
|
// newConfig = gson.fromJson(reader,Config.class);
|
||||||
|
|
Loading…
Reference in a new issue