From: Jay Freeman (saurik) Date: Fri, 22 Mar 2013 07:41:02 +0000 (+0000) Subject: Make the respring button kill backboardd on iOS 6. X-Git-Tag: v0.9.4007~3 X-Git-Url: https://git.saurik.com/cydget.git/commitdiff_plain/74e8399192213b1706aaa4487aade74a6544932d Make the respring button kill backboardd on iOS 6. --- diff --git a/CydgetSettings.mm b/CydgetSettings.mm index 7726b4f..5f0c95b 100644 --- a/CydgetSettings.mm +++ b/CydgetSettings.mm @@ -350,7 +350,11 @@ static NSString *_plist; return; if (![data writeToFile:_plist options:NSAtomicWrite error:NULL]) return; - system("killall SpringBoard"); + + if (kCFCoreFoundationVersionNumber >= 700) // XXX: iOS 6.x + system("killall backboardd"); + else + system("killall SpringBoard"); } - (void) cancelChanges {