Added YouTube Version Spoofer (Lite) #2

Merged
arichornlover merged 4 commits from main into main 2023-07-06 08:11:52 +00:00
arichornlover commented 2023-07-06 03:13:06 +00:00 (Migrated from github.com)

Hello I made a different version of the Version Spoofer Tweak specifically for YTLitePlus. Its a lighter version with lesser options and I also putted info next to the version number so people will know what changes the app.

Hello I made a different version of the Version Spoofer Tweak specifically for YTLitePlus. Its a lighter version with lesser options and I also putted info next to the version number so people will know what changes the app.
Balackburn commented 2023-07-06 08:11:55 +00:00 (Migrated from github.com)

@arichorn Thank’s a lot, it’s merged

@arichorn Thank’s a lot, it’s merged
arichornlover commented 2023-07-08 04:36:44 +00:00 (Migrated from github.com)
%group gDefault
%hook YTVersionUtils
+ (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.25.1";
}
%end
%end

I just made this and the code I just provided will automatically spoof the app to the latest app version. It’s also client-side aswell due to the implementation of the version.txt file which will change the app version instantly if the txt file is ever modified which can be really helpful without needing to update the VersionSpoofer tweak. 😅

``` %group gDefault %hook YTVersionUtils + (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.25.1"; } %end %end ``` I just made this and the code I just provided will automatically spoof the app to the latest app version. It’s also client-side aswell due to the implementation of the version.txt file which will change the app version instantly if the txt file is ever modified which can be really helpful without needing to update the VersionSpoofer tweak. 😅
Balackburn commented 2023-07-08 09:19:21 +00:00 (Migrated from github.com)

@arichorn Thank you should I add it in VersionSpooferLite before :

%group gVersion1
%hook YTVersionUtils // Fix YTClassicVideoQuality & YTSpeed
+ (NSString *)appVersion { return @"18.18.2"; }
%end
%end

?

@arichorn Thank you should I add it in VersionSpooferLite before : ``` %group gVersion1 %hook YTVersionUtils // Fix YTClassicVideoQuality & YTSpeed + (NSString *)appVersion { return @"18.18.2"; } %end %end ``` ?
arichornlover commented 2023-07-08 09:58:48 +00:00 (Migrated from github.com)

@arichorn Thank you should I add it in VersionSpooferLite before :

I modified the code again because it was supposed to say%group gDefault and I haven’t tested out the code above but when you do a release, I’ll modify the .txt and see if this actually works.

> @arichorn Thank you should I add it in VersionSpooferLite before : I modified the code again because it was supposed to say`%group gDefault` and I haven’t tested out the code above but when you do a release, I’ll modify the .txt and see if this actually works.
arichornlover commented 2023-07-16 20:44:39 +00:00 (Migrated from github.com)

753e1b480d/YTLite.x (L326) I just found out the version spoofer’s not gonna work with this added 🤨
I recently found out today

https://github.com/dayanch96/YTLite/blob/753e1b480d2727ae005d7701f1f6d5fee6a06fc5/YTLite.x#L326 I just found out the version spoofer’s not gonna work with this added 🤨 I recently found out today
Sign in to join this conversation.
No description provided.