summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2011-03-22 19:29:21 -0700
committerJay Freeman (saurik) <saurik@saurik.com>2011-03-22 19:29:21 -0700
commit7cc1e4970a531821c8d6ea06357670ec8d4bd3a4 (patch)
treefe1ee28873c536a9afcd39cf464eee112f408cf6 /MobileCydia.mm
parenta3755a1e7439eb7cff027ca187ef60ac250d1c95 (diff)
Double-fork sbreload and fall back to killing SpringBoard.
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 0afba59..17b6b12 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -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 {