Add 'Executables -> runningboardd' in plist
remember 'killall runningboardd'
// please include RBProcess.h and RBSProcessIdentity.h. the project has inlcude those files.
%hook RBProcess
- (void)_lock_suspend{
if ([self.identity.embeddedApplicationIdentifier isEqualToString:@"your bundleId"]) {
return;
}
%orig;
}
- (void)_lock_resume{
%orig;
}
- (_Bool)_lock_terminateWithContext:(id)arg1{
return %orig;
}
%end