From 74e8399192213b1706aaa4487aade74a6544932d Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 22 Mar 2013 07:41:02 +0000 Subject: [PATCH] Make the respring button kill backboardd on iOS 6. --- CydgetSettings.mm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 { -- 2.45.2