possibly fixed iOS 12

This commit is contained in:
Jamie Berghmans
2019-12-29 03:52:53 +01:00
parent 8d9472a3a6
commit 27b8e1a5d8
2 changed files with 4 additions and 1 deletions

View File

@ -69,7 +69,8 @@ static bool isFirstTryAfterEnding = false;
%ctor { %ctor {
float version = [[[UIDevice currentDevice] systemVersion] floatValue]; float version = [[[UIDevice currentDevice] systemVersion] floatValue];
if (version <= 12) { NSLog(@"AUTOREPLAY - Version: %f", version);
if (version < 13) {
%init(IOS12); %init(IOS12);
} else { } else {
%init(IOS13); %init(IOS13);

View File

@ -7,3 +7,5 @@ Description: An awesome MobileSubstrate tweak!
Maintainer: Devvix Maintainer: Devvix
Author: Devvix Author: Devvix
Section: Tweaks Section: Tweaks
Depiction: https://repo.devvix.com/depictions/?p=com.devvix.autoreplay
SileoDepiction: https://repo.devvix.com/sileodepictions/com.devvix.autoreplay/depiction.json