diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2010-12-03 02:57:01 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2010-12-03 04:26:10 -0800 |
commit | ef8120717c428b90bc0e0f71fe08776b0a361e1d (patch) | |
tree | b2474c416f0fff0c80ed896145541372003fd6a5 | |
parent | 670fdb01e05ad4ebde4d5f71f2756526dddc2f11 (diff) |
Use uikittools' sbreload for Finish_ in ('restart', 'reload').
-rw-r--r-- | MobileCydia.mm | 8 | ||||
-rw-r--r-- | control | 2 |
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: @@ -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 |