summaryrefslogtreecommitdiff
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
parent670fdb01e05ad4ebde4d5f71f2756526dddc2f11 (diff)
Use uikittools' sbreload for Finish_ in ('restart', 'reload').
-rw-r--r--MobileCydia.mm8
-rw-r--r--control2
2 files changed, 6 insertions, 4 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:
diff --git a/control b/control
index 2b7787e..4f9204d 100644
--- a/control
+++ b/control
@@ -5,7 +5,7 @@ Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
Architecture: iphoneos-arm
Version:
Replaces: com.sosiphone.addcydia
-Depends: apr-lib, apt7-lib, apt7-key, darwintools, pcre, sed, shell-cmds, system-cmds, uikittools (>= 1.0.3198)
+Depends: apr-lib, apt7-lib, apt7-key, darwintools, pcre, sed, shell-cmds, system-cmds, uikittools (>= 1.1.0)
Pre-Depends: dpkg (>= 1.14.25-8)
Conflicts: com.sosiphone.addcydia
Description: graphical iPhone front-end for APT