I'm drunk and it's 1 AM
This commit is contained in:
@@ -13,7 +13,7 @@ on:
|
|||||||
type: string
|
type: string
|
||||||
decrypted_youtube_url:
|
decrypted_youtube_url:
|
||||||
description: "The direct URL to the decrypted YouTube ipa"
|
description: "The direct URL to the decrypted YouTube ipa"
|
||||||
default: "https://27man-my.sharepoint.com/:u:/g/personal/qn____27man_onmicrosoft_com/EfZLHsAs_CpGtyzPhAi7Dy8BtGjTxYif-DAmW0-rxzE4sA?download=1"
|
default: ""
|
||||||
required: true
|
required: true
|
||||||
type: string
|
type: string
|
||||||
youtube_version:
|
youtube_version:
|
||||||
@@ -105,7 +105,17 @@ jobs:
|
|||||||
UYOU_VERSION: ${{ inputs.uyou_version }}
|
UYOU_VERSION: ${{ inputs.uyou_version }}
|
||||||
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
|
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
|
||||||
|
|
||||||
- name: Gh Release
|
- name: Upload Artifact
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
env:
|
||||||
|
UYOU_VERSION: ${{ inputs.uyou_version }}
|
||||||
|
YOUTUBE_VERSION: ${{ inputs.youtube_version }}
|
||||||
|
with:
|
||||||
|
name: uYouPlus_${{ env.YOUTUBE_VERSION }}_${{ env.UYOU_VERSION }}
|
||||||
|
path: ${{ github.workspace }}/main/packages/${{ steps.build_package.outputs.package }}
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: softprops/action-gh-release@v0.1.14
|
uses: softprops/action-gh-release@v0.1.14
|
||||||
env:
|
env:
|
||||||
|
|||||||
+24
-2
@@ -19,6 +19,7 @@
|
|||||||
#import "Tweaks/YouTubeHeader/YTPlayerOverlayProvider.h"
|
#import "Tweaks/YouTubeHeader/YTPlayerOverlayProvider.h"
|
||||||
#import "Tweaks/YouTubeHeader/YTReelWatchPlaybackOverlayView.h"
|
#import "Tweaks/YouTubeHeader/YTReelWatchPlaybackOverlayView.h"
|
||||||
#import "Tweaks/YouTubeHeader/YTReelPlayerBottomButton.h"
|
#import "Tweaks/YouTubeHeader/YTReelPlayerBottomButton.h"
|
||||||
|
#import "Tweaks/YouTubeHeader/YTReelPlayerViewController.h"
|
||||||
|
|
||||||
// Tweak's bundle for Localizations support - @PoomSmart - https://github.com/PoomSmart/YouPiP/commit/aea2473f64c75d73cab713e1e2d5d0a77675024f
|
// Tweak's bundle for Localizations support - @PoomSmart - https://github.com/PoomSmart/YouPiP/commit/aea2473f64c75d73cab713e1e2d5d0a77675024f
|
||||||
NSBundle *uYouPlusBundle() {
|
NSBundle *uYouPlusBundle() {
|
||||||
@@ -26,7 +27,10 @@ NSBundle *uYouPlusBundle() {
|
|||||||
static dispatch_once_t onceToken;
|
static dispatch_once_t onceToken;
|
||||||
dispatch_once(&onceToken, ^{
|
dispatch_once(&onceToken, ^{
|
||||||
NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"uYouPlus" ofType:@"bundle"];
|
NSString *tweakBundlePath = [[NSBundle mainBundle] pathForResource:@"uYouPlus" ofType:@"bundle"];
|
||||||
bundle = [NSBundle bundleWithPath:tweakBundlePath];
|
if (tweakBundlePath)
|
||||||
|
bundle = [NSBundle bundleWithPath:tweakBundlePath];
|
||||||
|
else
|
||||||
|
bundle = [NSBundle bundleWithPath:@"/Library/Application Support/uYouPlus.bundle"];
|
||||||
});
|
});
|
||||||
return bundle;
|
return bundle;
|
||||||
}
|
}
|
||||||
@@ -262,6 +266,8 @@ BOOL dontEatMyContent() {
|
|||||||
%hook YTColdConfig
|
%hook YTColdConfig
|
||||||
- (BOOL)respectDeviceCaptionSetting { return NO; }
|
- (BOOL)respectDeviceCaptionSetting { return NO; }
|
||||||
- (BOOL)isLandscapeEngagementPanelSwipeRightToDismissEnabled { return YES; }
|
- (BOOL)isLandscapeEngagementPanelSwipeRightToDismissEnabled { return YES; }
|
||||||
|
// Fix uYou's label glitching - qnblackcat/uYouPlus#552
|
||||||
|
- (BOOL)mainAppCoreClientIosTransientVisualGlitchInPivotBarFix { return NO; }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// NOYTPremium - https://github.com/PoomSmart/NoYTPremium/
|
// NOYTPremium - https://github.com/PoomSmart/NoYTPremium/
|
||||||
@@ -291,15 +297,31 @@ BOOL dontEatMyContent() {
|
|||||||
- (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {}
|
- (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// Enable Shorts scroll bar - @PoomSmart
|
// YTShortsProgress - @PoomSmart - https://github.com/PoomSmart/YTShortsProgress
|
||||||
%hook YTReelPlayerViewController
|
%hook YTReelPlayerViewController
|
||||||
|
- (BOOL)shouldEnablePlayerBar { return YES; }
|
||||||
- (BOOL)shouldAlwaysEnablePlayerBar { return YES; }
|
- (BOOL)shouldAlwaysEnablePlayerBar { return YES; }
|
||||||
|
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
|
||||||
|
%end
|
||||||
|
|
||||||
|
%hook YTReelPlayerViewControllerSub
|
||||||
|
- (BOOL)shouldEnablePlayerBar { return YES; }
|
||||||
|
- (BOOL)shouldAlwaysEnablePlayerBar { return YES; }
|
||||||
|
- (BOOL)shouldEnablePlayerBarOnlyOnPause { return NO; }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
%hook YTInlinePlayerBarContainerView
|
%hook YTInlinePlayerBarContainerView
|
||||||
- (void)setUserInteractionEnabled:(BOOL)enabled { %orig(YES); }
|
- (void)setUserInteractionEnabled:(BOOL)enabled { %orig(YES); }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
%hook YTColdConfig
|
||||||
|
- (BOOL)iosEnableVideoPlayerScrubber { return YES; }
|
||||||
|
%end
|
||||||
|
|
||||||
|
%hook YTHotConfig
|
||||||
|
- (BOOL)enablePlayerBarForVerticalVideoWhenControlsHiddenInFullscreen { return YES; }
|
||||||
|
%end
|
||||||
|
|
||||||
// Workaround for issue #54
|
// Workaround for issue #54
|
||||||
%hook YTMainAppVideoPlayerOverlayViewController
|
%hook YTMainAppVideoPlayerOverlayViewController
|
||||||
- (void)updateRelatedVideos {
|
- (void)updateRelatedVideos {
|
||||||
|
|||||||
Reference in New Issue
Block a user