revert ytuhd to 0f59b38, check inputs for theos
This commit is contained in:
@@ -188,9 +188,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone YTUHD
|
- name: Clone YTUHD
|
||||||
if: ${{ inputs.enable_ytuhd }}
|
if: ${{ inputs.enable_ytuhd }}
|
||||||
run: |
|
uses: actions/checkout@v4.1.7
|
||||||
cd ${{ github.workspace }}
|
with:
|
||||||
git clone --quiet --depth=1 https://github.com/PoomSmart/YTUHD.git
|
repository: PoomSmart/YTUHD
|
||||||
|
ref: 0f59b38817d554ab692a0053456319847a6ab1a1
|
||||||
|
path: ${{ github.workspace }}/YTUHD
|
||||||
|
|
||||||
- name: Clone Return-YouTube-Dislikes
|
- name: Clone Return-YouTube-Dislikes
|
||||||
if: ${{ inputs.enable_ryd }}
|
if: ${{ inputs.enable_ryd }}
|
||||||
@@ -303,11 +305,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p ytp_tf
|
mkdir -p ytp_tf
|
||||||
|
|
||||||
for deb in ytplus.deb youpip.deb ytuhd.deb ryd.deb ygs.deb yq.deb ytvo.deb demc.deb; do
|
for f in *.deb; do
|
||||||
if [ -f "$deb" ]; then
|
if [ -f "$f" ]; then
|
||||||
echo "Extracting $deb..."
|
echo "Extracting $f..."
|
||||||
mkdir -p tmp_deb
|
mkdir -p tmp_deb
|
||||||
dpkg-deb -x "$deb" tmp_deb
|
dpkg-deb -x "$f" tmp_deb
|
||||||
find tmp_deb -type f -name "*.dylib" -exec cp -R {} ytp_tf/ \;
|
find tmp_deb -type f -name "*.dylib" -exec cp -R {} ytp_tf/ \;
|
||||||
find tmp_deb -type d -name "*.bundle" -exec cp -R {} ytp_tf/ \;
|
find tmp_deb -type d -name "*.bundle" -exec cp -R {} ytp_tf/ \;
|
||||||
rm -rf tmp_deb
|
rm -rf tmp_deb
|
||||||
|
|||||||
@@ -105,6 +105,7 @@ jobs:
|
|||||||
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
|
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Cache Theos
|
- name: Cache Theos
|
||||||
|
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
|
||||||
id: theos
|
id: theos
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
env:
|
env:
|
||||||
@@ -115,7 +116,7 @@ jobs:
|
|||||||
restore-keys: ${{ env.cache-name }}
|
restore-keys: ${{ env.cache-name }}
|
||||||
|
|
||||||
- name: Setup Theos
|
- name: Setup Theos
|
||||||
if: steps.theos.outputs.cache-hit != 'true'
|
if: ${{ (inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc) && steps.theos.outputs.cache-hit != 'true' }}
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
repository: theos/theos
|
repository: theos/theos
|
||||||
@@ -124,7 +125,7 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Download iOS SDK
|
- name: Download iOS SDK
|
||||||
if: steps.theos.outputs.cache-hit != 'true'
|
if: ${{ (inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc) && steps.theos.outputs.cache-hit != 'true' }}
|
||||||
run: |
|
run: |
|
||||||
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/theos/sdks/
|
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/theos/sdks/
|
||||||
cd sdks
|
cd sdks
|
||||||
@@ -152,6 +153,7 @@ jobs:
|
|||||||
mv *.appex ${{ github.workspace }}
|
mv *.appex ${{ github.workspace }}
|
||||||
|
|
||||||
- name: Clone YouTubeHeader
|
- name: Clone YouTubeHeader
|
||||||
|
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
|
||||||
run: |
|
run: |
|
||||||
if [ -d "$THEOS/include/YouTubeHeader" ]; then
|
if [ -d "$THEOS/include/YouTubeHeader" ]; then
|
||||||
echo "YouTubeHeader exists. Pulling latest changes..."
|
echo "YouTubeHeader exists. Pulling latest changes..."
|
||||||
@@ -172,6 +174,7 @@ jobs:
|
|||||||
THEOS: ${{ github.workspace }}/theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
|
|
||||||
- name: Clone PSHeader
|
- name: Clone PSHeader
|
||||||
|
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
|
||||||
run: |
|
run: |
|
||||||
if [ -d "$THEOS/include/PSHeader" ]; then
|
if [ -d "$THEOS/include/PSHeader" ]; then
|
||||||
echo "PSHeader exists. Pulling latest changes..."
|
echo "PSHeader exists. Pulling latest changes..."
|
||||||
@@ -193,9 +196,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone YTUHD
|
- name: Clone YTUHD
|
||||||
if: ${{ inputs.enable_ytuhd }}
|
if: ${{ inputs.enable_ytuhd }}
|
||||||
run: |
|
uses: actions/checkout@v4.1.7
|
||||||
cd ${{ github.workspace }}
|
with:
|
||||||
git clone --quiet --depth=1 https://github.com/PoomSmart/YTUHD.git
|
repository: PoomSmart/YTUHD
|
||||||
|
ref: 0f59b38817d554ab692a0053456319847a6ab1a1
|
||||||
|
path: ${{ github.workspace }}/YTUHD
|
||||||
|
|
||||||
- name: Clone Return-YouTube-Dislikes
|
- name: Clone Return-YouTube-Dislikes
|
||||||
if: ${{ inputs.enable_ryd }}
|
if: ${{ inputs.enable_ryd }}
|
||||||
@@ -294,9 +299,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
tweaks="ytplus.deb OpenYoutubeSafariExtension.appex"
|
tweaks="ytplus.deb OpenYoutubeSafariExtension.appex"
|
||||||
|
|
||||||
for deb in youpip.deb ytuhd.deb ryd.deb ygs.deb yq.deb ytvo.deb demc.deb; do
|
for f in *.deb; do
|
||||||
if [ -f "$deb" ]; then
|
if [ -f "$f" ]; then
|
||||||
tweaks="$tweaks $deb"
|
tweaks="$tweaks $f"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
@@ -116,6 +116,7 @@ jobs:
|
|||||||
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
|
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH
|
||||||
|
|
||||||
- name: Cache Theos
|
- name: Cache Theos
|
||||||
|
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
|
||||||
id: theos
|
id: theos
|
||||||
uses: actions/cache@v4
|
uses: actions/cache@v4
|
||||||
env:
|
env:
|
||||||
@@ -126,7 +127,7 @@ jobs:
|
|||||||
restore-keys: ${{ env.cache-name }}
|
restore-keys: ${{ env.cache-name }}
|
||||||
|
|
||||||
- name: Setup Theos
|
- name: Setup Theos
|
||||||
if: steps.theos.outputs.cache-hit != 'true'
|
if: ${{ (inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc) && steps.theos.outputs.cache-hit != 'true' }}
|
||||||
uses: actions/checkout@v4.1.7
|
uses: actions/checkout@v4.1.7
|
||||||
with:
|
with:
|
||||||
repository: theos/theos
|
repository: theos/theos
|
||||||
@@ -135,7 +136,7 @@ jobs:
|
|||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
|
||||||
- name: Download iOS SDK
|
- name: Download iOS SDK
|
||||||
if: steps.theos.outputs.cache-hit != 'true'
|
if: ${{ (inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc) && steps.theos.outputs.cache-hit != 'true' }}
|
||||||
run: |
|
run: |
|
||||||
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/theos/sdks/
|
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/theos/sdks/
|
||||||
cd sdks
|
cd sdks
|
||||||
@@ -157,6 +158,7 @@ jobs:
|
|||||||
mv *.appex ${{ github.workspace }}
|
mv *.appex ${{ github.workspace }}
|
||||||
|
|
||||||
- name: Clone YouTubeHeader
|
- name: Clone YouTubeHeader
|
||||||
|
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
|
||||||
run: |
|
run: |
|
||||||
if [ -d "$THEOS/include/YouTubeHeader" ]; then
|
if [ -d "$THEOS/include/YouTubeHeader" ]; then
|
||||||
echo "YouTubeHeader exists. Pulling latest changes..."
|
echo "YouTubeHeader exists. Pulling latest changes..."
|
||||||
@@ -177,6 +179,7 @@ jobs:
|
|||||||
THEOS: ${{ github.workspace }}/theos
|
THEOS: ${{ github.workspace }}/theos
|
||||||
|
|
||||||
- name: Clone PSHeader
|
- name: Clone PSHeader
|
||||||
|
if: ${{ inputs.enable_youpip || inputs.enable_ytuhd || inputs.enable_yq || inputs.enable_ryd || inputs.enable_demc }}
|
||||||
run: |
|
run: |
|
||||||
if [ -d "$THEOS/include/PSHeader" ]; then
|
if [ -d "$THEOS/include/PSHeader" ]; then
|
||||||
echo "PSHeader exists. Pulling latest changes..."
|
echo "PSHeader exists. Pulling latest changes..."
|
||||||
@@ -198,9 +201,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Clone YTUHD
|
- name: Clone YTUHD
|
||||||
if: ${{ inputs.enable_ytuhd }}
|
if: ${{ inputs.enable_ytuhd }}
|
||||||
run: |
|
uses: actions/checkout@v4.1.7
|
||||||
cd ${{ github.workspace }}
|
with:
|
||||||
git clone --quiet --depth=1 https://github.com/PoomSmart/YTUHD.git
|
repository: PoomSmart/YTUHD
|
||||||
|
ref: 0f59b38817d554ab692a0053456319847a6ab1a1
|
||||||
|
path: ${{ github.workspace }}/YTUHD
|
||||||
|
|
||||||
- name: Clone Return-YouTube-Dislikes
|
- name: Clone Return-YouTube-Dislikes
|
||||||
if: ${{ inputs.enable_ryd }}
|
if: ${{ inputs.enable_ryd }}
|
||||||
@@ -299,9 +304,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
tweaks="ytplus.deb OpenYoutubeSafariExtension.appex"
|
tweaks="ytplus.deb OpenYoutubeSafariExtension.appex"
|
||||||
|
|
||||||
for deb in youpip.deb ytuhd.deb ryd.deb ygs.deb yq.deb ytvo.deb demc.deb; do
|
for f in *.deb; do
|
||||||
if [ -f "$deb" ]; then
|
if [ -f "$f" ]; then
|
||||||
tweaks="$tweaks $deb"
|
tweaks="$tweaks $f"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user