Skip to content

Commit

Permalink
this would probably be easier
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliesSurviving authored May 12, 2024
1 parent c74bf11 commit 6abe889
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Application/Dopamine/Jailbreak/DOJailbreaker.m
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ - (NSError *)finalizeBootstrapIfNeeded
return [[DOEnvironmentManager sharedManager] finalizeBootstrap];
}

- (void)JailbreakCompleteAlert
- (NSError *)JailbreakCompleteAlert
{
UIAlertController *alertController = [UIAlertController alertControllerWithTitle:DOLocalizedString(@"Test_Reboot_Title") message:DOLocalizedString(@"Test_Reboot_Message") preferredStyle:UIAlertControllerStyleAlert];
UIAlertAction *rebootAction = [UIAlertAction actionWithTitle:DOLocalizedString(@"Test_Reboot_Close") style:UIAlertActionStyleDefault handler:^(UIAlertAction * _Nonnull action) {
Expand Down Expand Up @@ -596,10 +596,11 @@ - (void)runWithError:(NSError **)errOut didRemoveJailbreak:(BOOL*)didRemove show

[[DOUIManager sharedInstance] sendLog:DOLocalizedString(@"Checking For Duplicate Apps") debug:NO];
*errOut = [self ensureNoDuplicateApps];
[self JailbreakCompleteAlert];
if (*errOut) {
*showLogs = NO;
return;
*errOut = [self JailbreakCompleteAlert];
if (*errOut) return;
}


Expand Down

0 comments on commit 6abe889

Please sign in to comment.