private void OnUpdateCheckFinished(object sender, EventArgs e) { Dispatcher.Invoke(() => { _useFullExceptionHandler = true; _updateWindow.Hide(); _mainWindow.Initialize(); }); }
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(); }); }
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()); }); }
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(); }); }