Skip to content

Commit c33dfed

Browse files
committed
add exception to restart application
1 parent 585baae commit c33dfed

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

FlashpointSecurePlayer/FlashpointSecurePlayerGUI.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,8 @@ private void RestartApplication(bool runAsAdministrator, ref Mutex applicationMu
245245
ShowErrorFatal(Properties.Resources.ProcessUnableToStart);
246246
throw new ApplicationRestartRequiredException("The application failed to restart.");
247247
}
248+
249+
throw new InvalidModificationException("The Modification is restarting the application.");
248250
}
249251

250252
private void AskLaunch(string applicationRestartMessage, string descriptionMessage = null) {

0 commit comments

Comments
 (0)