From ef8120717c428b90bc0e0f71fe08776b0a361e1d Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 3 Dec 2010 02:57:01 -0800 Subject: Use uikittools' sbreload for Finish_ in ('restart', 'reload'). --- MobileCydia.mm | 8 +++++--- 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: diff --git a/control b/control index 2b7787e..4f9204d 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 -- cgit v1.2.3