mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-05 08:39:45 +00:00
Fix #162
This commit is contained in:
parent
c0257e801e
commit
24bf80cef5
1 changed files with 1 additions and 6 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue