public void ForceUpdatesAndGames() { if (MsgBoxUtil.showConfirmation("Are you sure you want to force database updates?\nThe application will need to restart", "Force update") == MessageBoxResult.Yes) { if (File.Exists(Paths.DATAVERSION_PATH)) { File.Delete(Paths.DATAVERSION_PATH); } System.Diagnostics.Process.Start(Application.ResourceAssembly.Location); Application.Current.Shutdown(); } }