internal static void PreloaderMain(string[] args) { PlatformUtils.SetPlatform(); Logger.Listeners.Add(new ConsoleLogListener()); ConsoleManager.Initialize(true); NetPreloader.Start(args); }
internal static void PreloaderMain(string[] args) { try { Logger.Listeners.Add(new ConsoleLogListener()); ConsoleManager.Initialize(true); NetPreloader.Start(args); } catch (Exception ex) { PreloaderLogger.Log.LogFatal("Unhandled exception"); PreloaderLogger.Log.LogFatal(ex); Program.ReadExit(); } }