Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 567 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 567 Bytes

WatchDogger

Core

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

Preview

Setting