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