summaryrefslogtreecommitdiff
path: root/MobileCydia.mm
diff options
context:
space:
mode:
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: