mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Experimental warning
This commit is contained in:
parent
c3fccc141f
commit
82b6b2d253
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,7 @@
|
|||
import pro.gravit.launchserver.manangers.LaunchServerGsonManager;
|
||||
import pro.gravit.launchserver.modules.impl.LaunchServerModulesManager;
|
||||
import pro.gravit.launchserver.socket.WebSocketService;
|
||||
import pro.gravit.utils.Version;
|
||||
import pro.gravit.utils.command.CommandHandler;
|
||||
import pro.gravit.utils.command.JLineCommandHandler;
|
||||
import pro.gravit.utils.command.StdCommandHandler;
|
||||
|
@ -111,6 +112,10 @@ public static void main(String[] args) throws Exception {
|
|||
localCommandHandler = new StdCommandHandler(true);
|
||||
logger.warn("JLine2 isn't in classpath, using std");
|
||||
}
|
||||
if(Version.getVersion().release == Version.Type.EXPERIMENTAL) {
|
||||
logger.warn("You are using an experimental branch.");
|
||||
logger.warn("LauncherRuntime may be not worked");
|
||||
}
|
||||
modulesManager.invokeEvent(new PreConfigPhase());
|
||||
generateConfigIfNotExists(configFile, localCommandHandler, env);
|
||||
logger.info("Reading LaunchServer config file");
|
||||
|
|
Loading…
Reference in a new issue