Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
ElliesSurviving authored Sep 12, 2024
1 parent 5250521 commit 6ea46d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/Dopamine/Jailbreak/DOBootstrapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ - (NSError *)deleteBootstrap
NSString *path = [[NSString stringWithUTF8String:gSystemInfo.jailbreakInfo.rootPath] stringByDeletingLastPathComponent];
for (NSString *subItem in [[NSFileManager defaultManager] contentsOfDirectoryAtPath:@"/var/jb/etc/active" error:nil]) {
if (subItem.length == 11 && [subItem hasPrefix:@"jb-"]) {
oldsecondaryjbpath = [@"/var/jb/etc/active" stringByAppendingPathComponent:subItem];
NSString oldsecondaryjbpath = [@"/var/jb/etc/active" stringByAppendingPathComponent:subItem];
}
}
[[NSFileManager defaultManager] removeItemAtPath:oldsecondaryjbpath error:&error];
Expand Down

0 comments on commit 6ea46d9

Please sign in to comment.