update
This commit is contained in:
@@ -1,20 +1,21 @@
|
|||||||
TARGET = iphone:clang:latest:13.0
|
|
||||||
|
|
||||||
uYouPlus_INJECT_DYLIBS = uYou.dylib iSponsorBlock.dylib libcolorpicker.dylib YTUHD.dylib YouPiP.dylib
|
uYouPlus_INJECT_DYLIBS = uYou.dylib iSponsorBlock.dylib libcolorpicker.dylib YTUHD.dylib YouPiP.dylib
|
||||||
|
|
||||||
|
|
||||||
ARCHS = arm64
|
ARCHS = arm64
|
||||||
MODULES = jailed
|
MODULES = jailed
|
||||||
FINALPACKAGE = 1
|
FINALPACKAGE = 1
|
||||||
CODESIGN_IPA = 0
|
CODESIGN_IPA = 0
|
||||||
PACKAGE_VERSION = 16.38.2
|
|
||||||
|
|
||||||
TWEAK_NAME = uYouPlus
|
TWEAK_NAME = uYouPlus
|
||||||
DISPLAY_NAME = YouTube
|
DISPLAY_NAME = YouTube
|
||||||
BUNDLE_ID = com.google.ios.youtube
|
BUNDLE_ID = com.google.ios.youtube
|
||||||
|
|
||||||
uYouPlus_FILES = Tweak.x
|
|
||||||
uYouPlus_IPA = /Volumes/Data_Macintosh/Sideloads/IPAs/YouTube_16.38.2.ipa
|
uYouPlus_FILES = uYouPlus.x
|
||||||
uYouPlus_FRAMEWORKS = Alderis
|
uYouPlus_FRAMEWORKS = Alderis
|
||||||
|
uYouPlus_IPA = /.../path/to/the/decrypted/YouTube/IPA
|
||||||
|
### Important: edit the path to the decrypted YouTube IPA
|
||||||
|
|
||||||
|
|
||||||
include $(THEOS)/makefiles/common.mk
|
include $(THEOS)/makefiles/common.mk
|
||||||
|
|||||||
+24
-31
@@ -1,16 +1,23 @@
|
|||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
#import <UIKit/UIKit.h>
|
#import <UIKit/UIKit.h>
|
||||||
|
|
||||||
//Mni
|
|
||||||
%hook YTIMiniplayerRenderer
|
//YTClassicVideoQuality
|
||||||
- (BOOL)hasMinimizedEndpoint {
|
|
||||||
return NO;
|
@interface YTVideoQualitySwitchOriginalController : NSObject
|
||||||
}
|
- (instancetype)initWithParentResponder:(id)responder;
|
||||||
- (int)playbackMode {
|
@end
|
||||||
return 2;
|
|
||||||
|
%hook YTVideoQualitySwitchControllerFactory
|
||||||
|
|
||||||
|
- (id)videoQualitySwitchControllerWithParentResponder:(id)responder {
|
||||||
|
Class originalClass = %c(YTVideoQualitySwitchOriginalController);
|
||||||
|
return originalClass ? [[originalClass alloc] initWithParentResponder:responder] : %orig;
|
||||||
}
|
}
|
||||||
|
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
|
||||||
//NoLocalCheck
|
//NoLocalCheck
|
||||||
%hook YTHotConfig
|
%hook YTHotConfig
|
||||||
|
|
||||||
@@ -27,12 +34,20 @@ return 2;
|
|||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// Alert
|
|
||||||
|
//YTSystemTheme
|
||||||
|
%hook YTColdConfig
|
||||||
|
- (BOOL)shouldUseAppThemeSetting {
|
||||||
|
return YES;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
|
|
||||||
|
//NOYTPremium
|
||||||
%hook YTCommerceEventGroupHandler
|
%hook YTCommerceEventGroupHandler
|
||||||
- (void)addEventHandlers {}
|
- (void)addEventHandlers {}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// Full-screen
|
|
||||||
%hook YTInterstitialPromoEventGroupHandler
|
%hook YTInterstitialPromoEventGroupHandler
|
||||||
- (void)addEventHandlers {}
|
- (void)addEventHandlers {}
|
||||||
%end
|
%end
|
||||||
@@ -41,7 +56,6 @@ return 2;
|
|||||||
- (BOOL)shouldThrottleInterstitial { return YES; }
|
- (BOOL)shouldThrottleInterstitial { return YES; }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// YT-PRE--Whatever these are for
|
|
||||||
%hook YTPromoThrottleController
|
%hook YTPromoThrottleController
|
||||||
- (BOOL)canShowThrottledPromo { return NO; }
|
- (BOOL)canShowThrottledPromo { return NO; }
|
||||||
- (BOOL)canShowThrottledPromoWithFrequencyCap:(id)frequencyCap { return NO; }
|
- (BOOL)canShowThrottledPromoWithFrequencyCap:(id)frequencyCap { return NO; }
|
||||||
@@ -51,20 +65,6 @@ return 2;
|
|||||||
- (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {}
|
- (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
//YTClassicVideoQuality
|
|
||||||
|
|
||||||
@interface YTVideoQualitySwitchOriginalController : NSObject
|
|
||||||
- (instancetype)initWithParentResponder:(id)responder;
|
|
||||||
@end
|
|
||||||
|
|
||||||
%hook YTVideoQualitySwitchControllerFactory
|
|
||||||
|
|
||||||
- (id)videoQualitySwitchControllerWithParentResponder:(id)responder {
|
|
||||||
Class originalClass = %c(YTVideoQualitySwitchOriginalController);
|
|
||||||
return originalClass ? [[originalClass alloc] initWithParentResponder:responder] : %orig;
|
|
||||||
}
|
|
||||||
|
|
||||||
%end
|
|
||||||
|
|
||||||
//YTNoHoverCards 0.0.3
|
//YTNoHoverCards 0.0.3
|
||||||
@interface YTCollectionViewCell : UICollectionViewCell
|
@interface YTCollectionViewCell : UICollectionViewCell
|
||||||
@@ -111,10 +111,3 @@ return 2;
|
|||||||
%orig;
|
%orig;
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
//YTSystemTheme
|
|
||||||
%hook YTColdConfig
|
|
||||||
- (BOOL)shouldUseAppThemeSetting {
|
|
||||||
return YES;
|
|
||||||
}
|
|
||||||
%end
|
|
||||||
Reference in New Issue
Block a user