mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-22 02:38:45 -04:00
Remove incompatible stuff (VersionSpooferLite.xm)
This commit is contained in:
@@ -28,9 +28,6 @@ static BOOL version5() {
|
||||
static BOOL version6() {
|
||||
return IsEnabled(@"enableVersionSpoofer_enabled") && appVersionSpoofer() == 6;
|
||||
}
|
||||
static BOOL version7() {
|
||||
return IsEnabled(@"enableVersionSpoofer_enabled") && appVersionSpoofer() == 7;
|
||||
}
|
||||
|
||||
%group gVersion0
|
||||
%hook YTVersionUtils // Last v18 App Version
|
||||
@@ -74,12 +71,6 @@ static BOOL version7() {
|
||||
%end
|
||||
%end
|
||||
|
||||
%group gVersion7
|
||||
%hook YTVersionUtils // Oldest Supported App Version (v17)
|
||||
+ (NSString *)appVersion { return @"17.01.4"; }
|
||||
%end
|
||||
%end
|
||||
|
||||
# pragma mark - ctor
|
||||
%ctor {
|
||||
%init;
|
||||
@@ -104,7 +95,4 @@ static BOOL version7() {
|
||||
if (version6()) { // 6
|
||||
%init(gVersion6);
|
||||
}
|
||||
if (version7()) { // 7
|
||||
%init(gVersion7);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user