From 7cc1e4970a531821c8d6ea06357670ec8d4bd3a4 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Tue, 22 Mar 2011 19:29:21 -0700 Subject: Double-fork sbreload and fall back to killing SpringBoard. --- MobileCydia.mm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'MobileCydia.mm') diff --git a/MobileCydia.mm b/MobileCydia.mm index 0afba59..17b6b12 100644 --- a/MobileCydia.mm +++ b/MobileCydia.mm @@ -5226,7 +5226,9 @@ bool DepSubstrate(const pkgCache::VerIterator &iterator) { } - (void) reloadSpringBoard { - system("/usr/bin/sbreload"); + system("(/usr/bin/sbreload &)"); + sleep(60); + system("/usr/bin/killall SpringBoard"); } - (void) close { -- cgit v1.2.3