]> git.saurik.com Git - winterboard.git/commitdiff
Do not kill SpringBoard if we do backboardd. v0.9.3908
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Feb 2013 05:59:42 +0000 (05:59 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Feb 2013 05:59:42 +0000 (05:59 +0000)
Settings.mm

index ce81f16724aa2f63d58f918ab673bbcdd4e8573c..588fbc52cce263f9abd0708ceae4481107db62be 100644 (file)
@@ -509,7 +509,11 @@ static NSString *_plist;
     system("rm -rf /User/Library/Caches/com.apple.springboard.sharedimagecache");
 
     system("killall -9 lsd");
-    system("killall SpringBoard backboardd");
+
+    if (kCFCoreFoundationVersionNumber > 700) // XXX: iOS 6.x
+        system("killall backboardd");
+    else
+        system("killall SpringBoard");
 }
 
 - (void) cancelChanges {