Last active
November 30, 2023 22:11
-
-
Save coord-e/026ad5acdc1a088d43f1ea6a89c6636a to your computer and use it in GitHub Desktop.
auto safemode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define time 3600 //一時間 | |
%hook SpringBoard | |
-(void)applicationDidFinishLaunching: (id)application { | |
%orig; | |
[[NSOperationQueue new] addOperationWithBlock:^{ | |
[[NSRunLoop currentRunLoop] runUntilDate:[NSDate dateWithTimeIntervalSinceNow:time]]; | |
NSString* string = @[@"Crash"][2]; | |
}]; | |
} | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment