summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
authorJay Freeman (saurik) <saurik@saurik.com>2010-12-03 02:57:01 -0800
committerJay Freeman (saurik) <saurik@saurik.com>2010-12-03 04:26:10 -0800
commitef8120717c428b90bc0e0f71fe08776b0a361e1d (patch)
treeb2474c416f0fff0c80ed896145541372003fd6a5 /MobileCydia.mm
parent670fdb01e05ad4ebde4d5f71f2756526dddc2f11 (diff)
Use uikittools' sbreload for Finish_ in ('restart', 'reload').
Diffstat (limited to 'MobileCydia.mm')
-rw-r--r--MobileCydia.mm8
1 files changed, 5 insertions, 3 deletions
diff --git a/MobileCydia.mm b/MobileCydia.mm
index 9596309..d5b13ed 100644
--- a/MobileCydia.mm
+++ b/MobileCydia.mm
@@ -4442,11 +4442,13 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) {
break;
case 2:
- system("launchctl stop com.apple.SpringBoard");
- break;
+ goto reload;
case 3:
- system("launchctl unload "SpringBoard_"; launchctl load "SpringBoard_);
+ goto reload;
+
+ reload:
+ system("/usr/bin/sbreload");
break;
case 4: