Experimental - disabling/enabling dylibs (buildapp.yml)
This commit is contained in:
parent
a8c21a202a
commit
d147b294ff
1 changed files with 74 additions and 0 deletions
74
.github/workflows/buildapp.yml
vendored
74
.github/workflows/buildapp.yml
vendored
|
|
@ -46,6 +46,79 @@ on:
|
|||
default: false
|
||||
required: false
|
||||
type: boolean
|
||||
# dylib selection options - @arichornloverALT
|
||||
isponsorblock_dylib:
|
||||
description: "Include iSponsorBlock.dylib"
|
||||
default: "off"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
ytubehd_dylib:
|
||||
description: "Include YTUHD.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
youpip_dylib:
|
||||
description: "Include YouPiP.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
returndislikes_dylib:
|
||||
description: "Include Return-YouTube-Dislikes.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
ytabconfig_dylib:
|
||||
description: "Include YTABConfig.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
youmute_dylib:
|
||||
description: "Include YouMute.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
donteatmycontent_dylib:
|
||||
description: "Include DontEatMyContent.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
ytholdforspeed_dylib:
|
||||
description: "Include YTHoldForSpeed.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
ytvideooverlay_dylib:
|
||||
description: "Include YTVideoOverlay.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
youquality_dylib:
|
||||
description: "Include YouQuality.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
youtimestamp_dylib:
|
||||
description: "Include YouTimeStamp.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
youloop_dylib:
|
||||
description: "Include YouLoop.dylib"
|
||||
default: "on"
|
||||
required: false
|
||||
type: choice
|
||||
options: [on, off]
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
|
@ -166,6 +239,7 @@ jobs:
|
|||
sed -i '' "s/^DISPLAY_NAME.*$/DISPLAY_NAME = ${{ env.APP_NAME }}/" Makefile
|
||||
sed -i '' "s/^PACKAGE_VERSION.*$/PACKAGE_VERSION = ${{ env.YT_VERSION }}-${{ env.YTLITE_VERSION }}/" Makefile
|
||||
sed -i '' "s/^export TARGET.*$/export TARGET = iphone:clang:${{ inputs.sdk_version }}:14.0/" Makefile
|
||||
sed -i '' "s/^YTLitePlus_INJECT_DYLIBS.*$/YTLitePlus_INJECT_DYLIBS = Tweaks\/YTLite\/var\/jb\/Library\/MobileSubstrate\/DynamicLibraries\/YTLite.dylib .theos\/obj\/libcolorpicker.dylib$(if [[ ${{ inputs.isponsorblock_dylib }} == "on" ]]; then echo " .theos\/obj\/iSponsorBlock.dylib"; fi)$(if [[ ${{ inputs.ytubehd_dylib }} == "on" ]]; then echo " .theos\/obj\/YTUHD.dylib"; fi)$(if [[ ${{ inputs.youpip_dylib }} == "on" ]]; then echo " .theos\/obj\/YouPiP.dylib"; fi)$(if [[ ${{ inputs.returndislikes_dylib }} == "on" ]]; then echo " .theos\/obj\/YouTubeDislikesReturn.dylib"; fi)$(if [[ ${{ inputs.ytabconfig_dylib }} == "on" ]]; then echo " .theos\/obj\/YTABConfig.dylib"; fi)$(if [[ ${{ inputs.youmute_dylib }} == "on" ]]; then echo " .theos\/obj\/YouMute.dylib"; fi)$(if [[ ${{ inputs.donteatmycontent_dylib }} == "on" ]]; then echo " .theos\/obj\/DontEatMyContent.dylib"; fi)$(if [[ ${{ inputs.ytholdforspeed_dylib }} == "on" ]]; then echo " .theos\/obj\/YTHoldForSpeed.dylib"; fi)$(if [[ ${{ inputs.ytvideooverlay_dylib }} == "on" ]]; then echo " .theos\/obj\/YTVideoOverlay.dylib"; fi)$(if [[ ${{ inputs.youquality_dylib }} == "on" ]]; then echo " .theos\/obj\/YouQuality.dylib"; fi)$(if [[ ${{ inputs.youtimestamp_dylib }} == "on" ]]; then echo " .theos\/obj\/YouTimeStamp.dylib"; fi)$(if [[ ${{ inputs.youloop_dylib }} == "on" ]]; then echo " .theos\/obj\/YouLoop.dylib"; fi)" Makefile
|
||||
# Build the package
|
||||
make package
|
||||
# Rename the package based on the version
|
||||
|
|
|
|||
Loading…
Reference in a new issue