]> git.saurik.com Git - cydia.git/commitdiff
Double-fork sbreload and fall back to killing SpringBoard.
authorJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Mar 2011 02:29:21 +0000 (19:29 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Wed, 23 Mar 2011 02:29:21 +0000 (19:29 -0700)
MobileCydia.mm

index 0afba59aad51ae8f29084ed5fabc421c8b2eee9d..17b6b126c802218310e60f3757177a0507efff25 100644 (file)
@@ -5226,7 +5226,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
 }
 
 - (void) reloadSpringBoard {
-    system("/usr/bin/sbreload");
+    system("(/usr/bin/sbreload &)");
+    sleep(60);
+    system("/usr/bin/killall SpringBoard");
 }
 
 - (void) close {