Skip to content

Commit

Permalink
this didnt need a lot of changes?
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliesSurviving authored Dec 25, 2024
1 parent 52e46a7 commit 361ff78
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 34 deletions.
2 changes: 2 additions & 0 deletions Application/Dopamine/Jailbreak/DOJailbreaker.m
Original file line number Diff line number Diff line change
Expand Up @@ -618,10 +618,12 @@ - (void)finalize
BOOL userspacerebootafterjbEnabled = [[DOPreferenceManager sharedManager] boolPreferenceValueForKey:@"userspacerebootafterjbEnabled" fallback:YES];
if (!userspacerebootafterjbEnabled) {
[[DOUIManager sharedInstance] sendLog:DOLocalizedString(@"Jailbroken. Respringing Now...") debug:NO];
[[NSData data] writeToFile:JBROOT_PATH(@"/tmp/.DopamineLoaded") atomically:YES];
[[DOEnvironmentManager sharedManager] postjbrespring];
}
if (userspacerebootafterjbEnabled) {
[[DOUIManager sharedInstance] sendLog:DOLocalizedString(@"Jailbroken. Rebooting Now...") debug:NO];
[[NSData data] writeToFile:JBROOT_PATH(@"/tmp/.DopamineLoaded") atomically:YES];
[[DOEnvironmentManager sharedManager] ldrestartcall];
}
}
Expand Down

This file was deleted.

12 changes: 0 additions & 12 deletions BaseBin/jailbreakd/src/internal.m
Original file line number Diff line number Diff line change
Expand Up @@ -135,18 +135,6 @@ int jailbreakd_handle_internal(const char *command, int argc, char* argv[])
}
return mount_unsandboxed("bindfs", "/etc", MNT_RDONLY, (void *)JBROOT_PATH("/usr/etc"));
}
else if (!strcmp(command, "startfaked")) { // i want this to act as a daemon fr
printf("Starting Fake Daemon...\n");
int meowmeow = 10;
printf("Debug: Stage 1");
while( meowmeow == 10 ) {
printf("Debug: Stage 2");
int meowmeow = 10;
printf("Debug: Stage 3");
return meowmeow;
}
return nil;
}
else if (!strcmp(command, "startup")) {
// ensureProtectionActive();
char *panicMessage = NULL;
Expand Down

0 comments on commit 361ff78

Please sign in to comment.