mirror of
https://github.com/YTLitePlus/YTLitePlus.git
synced 2026-03-11 13:05:33 +00:00
* Dynamic versioning, remove duplicate features, fix build references
- Replace hardcoded YTLITE_VERSION=5.0.1 with dynamic GitHub API fetch in Makefile
- Add fallback error if API fetch fails in Makefile
- Update buildapp.yml to use dynamic version fetching with jq
- Replace all hardcoded 5.0.1 references with env vars in buildapp.yml
- Add jq to workflow dependencies
- Remove duplicate tweaks from INJECT_DYLIBS and SUBPROJECTS (iSponsorBlock,
YTHoldForSpeed, YouLoop, YouMute, YouQuality, YouSpeed)
- Remove git submodules for removed tweaks
- Remove SponsorBlock button hiding code from YTLitePlus.xm
- Remove iSponsorBlock first-run setup from YTLitePlus.xm
- Remove SponsorBlockSettingsController/ViewController hooks from Themes.xm
- Remove hideSponsorBlockButton setting from Settings.xm
- Update iSponsorBlock text references in Settings.xm
- Remove SponsorBlock class declarations from YTLitePlus.h
- Remove duplicate overlay keys from SettingsKeys.h
Co-authored-by: Balackburn <93828569+Balackburn@users.noreply.github.com>
* All changes verified and complete
Co-authored-by: Balackburn <93828569+Balackburn@users.noreply.github.com>
* Remove accidentally committed codeql artifact, add to .gitignore
Co-authored-by: Balackburn <93828569+Balackburn@users.noreply.github.com>
* Update build workflow and remove duplicate features from README
Workflow changes:
- Bump actions/cache from v4.2.0 to v5.0.2
- Bump actions/checkout from v4.2.2 to v6.0.1
- Bump softprops/action-gh-release from v2 to v2.5.0
- Update theos ref to latest commit (13c2237)
- Add THEOS env to Fix Compiling step
- Update default SDK version from 17.5 to 18.6
- Change SDK repo from aricloverALT to aricloverEXTRA
- Remove Checkout Main step (not needed for building)
- Remove unnecessary ${{ github.workspace }} paths
- Change YouTube extension repo from CokePokes to BillyCurtis
Other changes:
- Update Makefile default SDK references to 18.6
- Update .gitmodules Extensions URL
- Remove duplicate features from README (YouMute, iSponsorBlock,
YTSpeed, YTHoldForSpeed, YouQuality) and fix numbering
Co-authored-by: Balackburn <93828569+Balackburn@users.noreply.github.com>
* Add back repo checkout step without path prefix
The checkout step is still needed to get the source code,
but without path: main so it checks out to workspace root.
This is consistent with the removal of all main/ path prefixes.
Co-authored-by: Balackburn <93828569+Balackburn@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Balackburn <93828569+Balackburn@users.noreply.github.com>
52 lines
No EOL
3.4 KiB
Objective-C
52 lines
No EOL
3.4 KiB
Objective-C
#import "../YTLitePlus.h"
|
|
|
|
// Keys for "Copy Settings" button (for: YTLitePlus)
|
|
// In alphabetical order for tweaks after YTLitePlus
|
|
NSArray *NSUserDefaultsCopyKeys = @[
|
|
// YTLitePlus - gathered using get_keys.py
|
|
@"YTTapToSeek_enabled", @"alwaysShowRemainingTime_enabled", @"bigYTMiniPlayer_enabled", @"castConfirm_enabled",
|
|
@"disableAccountSection_enabled", @"disableAmbientModeFullscreen_enabled",
|
|
@"disableAmbientModePortrait_enabled", @"disableAutoplaySection_enabled", @"disableCollapseButton_enabled",
|
|
@"disableEngagementOverlay_enabled", @"disableLiveChatSection_enabled",
|
|
@"disableManageAllHistorySection_enabled", @"disableNotificationsSection_enabled",
|
|
@"disablePrivacySection_enabled", @"disablePullToFull_enabled", @"disableRemainingTime_enabled",
|
|
@"disableTryNewFeaturesSection_enabled", @"disableVideoQualityPreferencesSection_enabled",
|
|
@"disableYourDataInYouTubeSection_enabled", @"enableSaveToButton_enabled", @"enableShareButton_enabled",
|
|
@"enableVersionSpoofer_enabled", @"fixCasting_enabled", @"flex_enabled", @"fullscreenToTheRight_enabled",
|
|
@"hideAutoplayMiniPreview_enabled", @"hideCastButton_enabled", @"hideHUD_enabled", @"hideHeatwaves_enabled",
|
|
@"hideHomeTab_enabled", @"hidePreviewCommentSection_enabled", @"hideRightPanel_enabled",
|
|
@"hideSpeedToast_enabled", @"hideVideoPlayerShadowOverlayButtons_enabled",
|
|
@"iPadLayout_enabled", @"iPhoneLayout_enabled", @"inline_muted_playback_enabled", @"lowContrastMode_enabled",
|
|
@"newSettingsUI_enabled", @"oledKeyBoard_enabled", @"playerGesturesHapticFeedback_enabled",
|
|
@"playerGestures_enabled", @"seekAnywhere_enabled", @"switchCopyandPasteFunctionality_enabled",
|
|
@"videoPlayerButton_enabled", @"ytNoModernUI_enabled", @"ytStartupAnimation_enabled",
|
|
// DEMC - https://github.com/therealFoxster/DontEatMyContent/blob/master/Tweak.h
|
|
@"DEMC_enabled", @"DEMC_colorViewsEnabled", @"DEMC_safeAreaConstant", @"DEMC_disableAmbientMode",
|
|
@"DEMC_limitZoomToFill", @"DEMC_enableForAllVideos",
|
|
// iSponsorBlock has been removed in v5 - YTLite has built-in SponsorBlock
|
|
// Return-YouTube-Dislike - https://github.com/PoomSmart/Return-YouTube-Dislikes/blob/main/TweakSettings.h
|
|
@"RYD-ENABLED", @"RYD-VOTE-SUBMISSION", @"RYD-EXACT-LIKE-NUMBER", @"RYD-EXACT-NUMBER",
|
|
// YTVideoOverlay Tweaks - https://github.com/PoomSmart/YTVideoOverlay/blob/0fc6d29d1aa9e75f8c13d675daec9365f753d45e/Tweak.x#L28C1-L41C84
|
|
@"YTVideoOverlay-YouTimeStamp-Enabled", @"YTVideoOverlay-YouTimeStamp-Position",
|
|
// YouPiP - https://github.com/PoomSmart/YouPiP/blob/main/Header.h
|
|
@"YouPiPPosition", @"CompatibilityModeKey", @"PiPActivationMethodKey", @"PiPActivationMethod2Key",
|
|
@"NoMiniPlayerPiPKey", @"NonBackgroundableKey",
|
|
// YTABConfig cannot be reasonably exported using this method
|
|
// YouTube Plus / YTLite cannot be exported using this method
|
|
// YTUHD - https://github.com/PoomSmart/YTUHD/blob/master/Header.h
|
|
@"EnableVP9", @"AllVP9",
|
|
// Useful YouTube Keys
|
|
@"inline_muted_playback_enabled",
|
|
];
|
|
|
|
|
|
// Some default values to ignore when exporting settings
|
|
NSDictionary *NSUserDefaultsCopyKeysDefaults = @{
|
|
@"fixCasting_enabled": @1,
|
|
@"inline_muted_playback_enabled": @5,
|
|
@"newSettingsUI_enabled": @1,
|
|
@"DEMC_safeAreaConstant": @21.5,
|
|
@"RYD-ENABLED": @1,
|
|
@"RYD-VOTE-SUBMISSION": @1,
|
|
// Duplicate keys are not allowed in NSDictionary. If present, only the last one will be kept.
|
|
}; |