private void OnUpdateCheckFinished(object sender, EventArgs e)
        {
            Dispatcher.Invoke(() =>
            {
                _useFullExceptionHandler = true;

                _updateWindow.Hide();
                _mainWindow.Initialize();
            });
        }
Esempio n. 2
0
        private void OnUpdateCheckFinished(object sender, EventArgs e)
        {
            Dispatcher.Invoke(() =>
            {
                _useFullExceptionHandler = true;

#if !XL_NOAUTOUPDATE
                if (_updateWindow != null)
                {
                    _updateWindow.Hide();
                }
#endif

                _mainWindow = new MainWindow();
                _mainWindow.Initialize();
            });
        }
Esempio n. 3
0
        private void OnUpdateCheckFinished(object sender, EventArgs e)
        {
            Dispatcher.Invoke(() =>
            {
                _useFullExceptionHandler = true;

#if !XL_NOAUTOUPDATE
                if (_updateWindow != null)
                {
                    _updateWindow.Hide();
                }
#endif

                _mainWindow = new MainWindow();
                _mainWindow.Initialize();

                DalamudUpdater.Run(App.Settings.GamePath, new DalamudLoadingOverlay());
            });
        }
Esempio n. 4
0
        private void OnUpdateCheckFinished(object sender, EventArgs e)
        {
            Dispatcher.Invoke(() =>
            {
#if !DEBUG
                AppDomain.CurrentDomain.UnhandledException -= EarlyInitExceptionHandler;
                AppDomain.CurrentDomain.UnhandledException += (_, args) =>
                {
                    new ErrorWindow((Exception)args.ExceptionObject, "An unhandled exception occured.", "Unhandled")
                    .ShowDialog();
                    Log.CloseAndFlush();
                    Environment.Exit(0);
                };
#endif

                _updateWindow.Hide();
                _mainWindow.Initialize();
            });
        }