Example #1
0
        internal static void PreloaderMain(string[] args)
        {
            PlatformUtils.SetPlatform();

            Logger.Listeners.Add(new ConsoleLogListener());

            ConsoleManager.Initialize(true);

            NetPreloader.Start(args);
        }
Example #2
0
        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();
            }
        }