From: Jay Freeman (saurik) Date: Wed, 28 Oct 2015 11:00:32 +0000 (-0700) Subject: Support iOS 9.0 (Apple moved handleMenuButtonTap). X-Git-Tag: v0.9.5002^0 X-Git-Url: https://git.saurik.com/cydget.git/commitdiff_plain/fca7c5d41d91884cf2f830f6bb56212c6b786751 Support iOS 9.0 (Apple moved handleMenuButtonTap). --- diff --git a/CydgetLoader.mm b/CydgetLoader.mm index 17408a9..ae51ed5 100644 --- a/CydgetLoader.mm +++ b/CydgetLoader.mm @@ -49,6 +49,7 @@ MSClassHook(SBAwayWindow) MSClassHook(SBLockScreenManager) MSClassHook(SBLockScreenView) MSClassHook(SBLockScreenViewController) +MSClassHook(SBLockScreenViewControllerBase) MSClassHook(SBScreenFadeAnimationController) MSClassHook(SBUserAgent) @@ -57,6 +58,7 @@ MSInitialize { $SBUserAgent = $SBAwayController; $SBLockScreenManager = $SBAwayController; $SBLockScreenView = $SBAwayView; + $SBLockScreenViewControllerBase = $SBAwayController; } } @@ -211,7 +213,7 @@ MSInstanceMessageHook0(BOOL, SBLockScreenViewController, handleMenuButtonDoubleT return value; } -MSInstanceMessageHook0(BOOL, SBLockScreenManager, handleMenuButtonTap) { +MSInstanceMessageHook0(BOOL, SBLockScreenViewControllerBase, handleMenuButtonTap) { media_ = true; BOOL value(MSOldCall()); media_ = false; diff --git a/cydget.in b/cydget.in index a86e524..33e637f 100644 --- a/cydget.in +++ b/cydget.in @@ -6,7 +6,7 @@ Architecture: iphoneos-arm Version: % Description: framework for managing lock screen plugins Name: Cydget -Depends: mobilesubstrate, firmware (>= 2.2), firmware (<< 8.5), preferenceloader, cy+cpu.arm64 | pcre (>= 8.30), com.saurik.webcycript +Depends: mobilesubstrate, firmware (>= 2.2), firmware (<< 9.1), preferenceloader, cy+cpu.arm64 | pcre (>= 8.30), com.saurik.webcycript Replaces: cydialer (<< 0.9.17) Author: Jay Freeman (saurik) Depiction: http://cydia.saurik.com/info/cydget/ diff --git a/webcycript.in b/webcycript.in index c0d7e70..37e7eee 100644 --- a/webcycript.in +++ b/webcycript.in @@ -6,7 +6,7 @@ Architecture: iphoneos-arm Version: % Description: library support for Cycript in a UIWebView Name: WebCycript -Depends: mobilesubstrate (>= 0.9.3366-1), firmware (<< 6.0) | mobilesubstrate (>= 0.9.4000), firmware (<< 7.0) | mobilesubstrate (>= 0.9.5001), firmware (>= 2.2), firmware (<< 8.5), cycript (>= 0.9.500~b1) +Depends: mobilesubstrate (>= 0.9.3366-1), firmware (<< 6.0) | mobilesubstrate (>= 0.9.4000), firmware (<< 7.0) | mobilesubstrate (>= 0.9.5001), firmware (>= 2.2), firmware (<< 9.1), cycript (>= 0.9.500~b1) Breaks: cydget (<< 0.9.5000) Author: Jay Freeman (saurik) Depiction: http://cydia.saurik.com/info/com.saurik.webcycript/