This commit is contained in:
arichornlover 2023-10-22 23:04:55 -05:00 committed by GitHub
parent c0257e801e
commit 24bf80cef5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -427,12 +427,7 @@ static BOOL version138() {
%group gVersion0
%hook YTVersionUtils // 0
+ (NSString *)appVersion {
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.35.4";
}
+ (NSString *)appVersion { return @"18.35.4"; }
%end
%end