mirror of
https://github.com/SoPat712/YTLitePlus.git
synced 2025-08-22 02:38:45 -04:00
Update VersionSpooferLite.xm
This commit is contained in:
@@ -36,10 +36,12 @@ static BOOL version8() {
|
||||
}
|
||||
|
||||
%group gDefault
|
||||
%hook YTVersionUtils // Default
|
||||
%hook YTVersionUtils
|
||||
+ (NSString *)appVersion {
|
||||
NSString *originalVersion = %orig;
|
||||
return originalVersion;
|
||||
NSURL *versionURL = [NSURL URLWithString:@"https://raw.githubusercontent.com/arichorn/YTAppVersionSpoofer-WIP/main/version.txt"];
|
||||
NSString *latestVersion = [NSString stringWithContentsOfURL:versionURL encoding:NSUTF8StringEncoding error:nil];
|
||||
|
||||
return latestVersion ?: @"18.27.3"; // <-- Fallback Version
|
||||
}
|
||||
%end
|
||||
%end
|
||||
|
Reference in New Issue
Block a user