Browse Source

Fix Respring button

master
mac-user669 4 years ago
parent
commit
4497903f66
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      zenithdarkprefs/ZNDarkPrefsRootListController.m

+ 7
- 0
zenithdarkprefs/ZNDarkPrefsRootListController.m View File

@@ -77,6 +77,13 @@
return _specifiers;
}

-(void)respring {
NSTask *task = [[[NSTask alloc] init] autorelease];
[task setLaunchPath:@"/usr/bin/killall"];
[task setArguments:[NSArray arrayWithObjects:@"backboardd", nil]];
[task launch];
}

-(void)doAFancyRespring {


Loading…
Cancel
Save