From: Jay Freeman (saurik) Date: Fri, 3 Dec 2010 10:57:01 +0000 (-0800) Subject: Use uikittools' sbreload for Finish_ in ('restart', 'reload'). X-Git-Tag: v1.1.0%b1~425 X-Git-Url: https://git.saurik.com/cydia.git/commitdiff_plain/ef8120717c428b90bc0e0f71fe08776b0a361e1d?hp=670fdb01e05ad4ebde4d5f71f2756526dddc2f11 Use uikittools' sbreload for Finish_ in ('restart', 'reload'). --- diff --git a/MobileCydia.mm b/MobileCydia.mm index 95963094..d5b13ede 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 2b7787eb..4f9204d0 100644 --- a/control +++ b/control @@ -5,7 +5,7 @@ Maintainer: Jay Freeman (saurik) 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