substrate extension to make the app switcher cards square like the non-x iPhones
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SSXRootListController.m 441B

4 years ago
1234567891011121314151617181920
  1. #include "SSXRootListController.h"
  2. @implementation SSXRootListController
  3. - (NSArray *)specifiers {
  4. if (!_specifiers) {
  5. _specifiers = [[self loadSpecifiersFromPlistName:@"Root" target:self] retain];
  6. }
  7. return _specifiers;
  8. }
  9. // Respring function
  10. - (void)respring:(id)sender {
  11. pid_t pid;
  12. const char* args[] = {"killall", "backboardd", NULL};
  13. posix_spawn(&pid, "/usr/bin/killall", NULL, NULL, (char* const*)args, NULL);
  14. }
  15. @end