mirror of
				https://github.com/SoPat712/YTLitePlus.git
				synced 2025-10-30 20:34:04 -04:00 
			
		
		
		
	Re-added it (VersionSpooferLite.xm)
Instead of v17.01.4, it will be v17.33.2 Since it is now the oldest supported version in the app now.
This commit is contained in:
		| @@ -28,6 +28,9 @@ 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 | ||||
| @@ -71,6 +74,12 @@ static BOOL version6() { | ||||
| %end | ||||
| %end | ||||
|  | ||||
| %group gVersion7 | ||||
| %hook YTVersionUtils // Oldest Supported App Version (v17) | ||||
| + (NSString *)appVersion { return @"17.33.2"; } | ||||
| %end | ||||
| %end | ||||
|  | ||||
| # pragma mark - ctor | ||||
| %ctor { | ||||
|     %init; | ||||
| @@ -95,4 +104,7 @@ static BOOL version6() { | ||||
|     if (version6()) { // 6 | ||||
|         %init(gVersion6); | ||||
|     } | ||||
|     if (version7()) { // 7 | ||||
|         %init(gVersion7); | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 arichornlover
					arichornlover