Ejemplo n.º 1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            bool askForGameContentLocation = e.Args.Contains("ASK_FOR_GAME_CONTENT_LOCATION");
            bool skipGameContent           = e.Args.Contains("SKIP_GAME_CONTENT");

            EventLogger.init();

            showSplashWindowReplacingOldWindow();

            if (skipGameContent)
            {
                showMainWindow();
            }
            else
            {
                loadAsync(askForGameContentLocation);
            }
        }
Ejemplo n.º 2
0
        protected override void OnStartup(StartupEventArgs e)
        {
            base.OnStartup(e);
            _askForGameContentLocation = e.Args.Contains("ASK_FOR_GAME_CONTENT_LOCATION");
            _skipGameContent           = e.Args.Contains("SKIP_GAME_CONTENT");
            EventLogger.init();
            initPakReader();

            _splashWindow = buildSplashWindow();
            MainWindow    = _splashWindow;
            this.MainWindow.Show();

            if (_skipGameContent)
            {
                showMainWindow();
            }
            else
            {
                load();
            }
        }