This commit is contained in:
Dan
2025-07-25 00:31:27 +03:00
parent 22f7f40247
commit 8c79a6c688
3 changed files with 40 additions and 26 deletions
+15 -9
View File
@@ -42,7 +42,7 @@ on:
tweak_version:
description: "The version of the tweak to use. Enter the version manually from dayanch96/YTLite/releases or leave default"
default: "5.2b1"
default: "5.2b2"
required: true
type: string
@@ -84,14 +84,17 @@ jobs:
- name: Hide sensitive inputs
uses: levibostian/action-hide-sensitive-inputs@v1
with:
exclude_inputs: bundle_id,display_name,enable_demc,enable_ryd,enable_youpip,enable_yq,enable_ytuhd,info_note,tweak_version
- name: Validate IPA URL
- name: Download and validate IPA
run: |
curl -L -r 0-1023 -o sample.part "${{ inputs.ipa_url }}" > /dev/null 2>&1
file_type=$(file --mime-type -b sample.part)
wget "${{ inputs.ipa_url }}" --no-verbose -O ${{ github.workspace }}/youtube.ipa
file_type=$(file --mime-type -b ${{ github.workspace }}/youtube.ipa)
if [[ "$file_type" != "application/x-ios-app" && "$file_type" != "application/zip" ]]; then
echo "::error::Validation failed: The file is not a valid IPA file. Detected type: $file_type."
echo "::error::Validation failed: The downloaded file is not a valid IPA. Detected type: $file_type."
exit 1
fi
@@ -140,10 +143,6 @@ jobs:
deb_url="https://github.com/dayanch96/YTLite/releases/download/v${{ inputs.tweak_version }}/com.dvntm.ytlite_${{ inputs.tweak_version }}_iphoneos-arm.deb"
wget "$deb_url" --no-verbose -O ${{ github.workspace }}/ytplus.deb
- name: Download YouTube
id: download_youtube
run: wget "${{ inputs.ipa_url }}" --no-verbose -O ${{ github.workspace }}/youtube.ipa
- name: Clone Open in YouTube (Safari extension)
run: |
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/CokePokes/YoutubeExtensions/
@@ -163,6 +162,12 @@ jobs:
cd $THEOS/include
git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git
fi
if [ "${{ inputs.enable_demc }}" = "true" ]; then
echo "Copying YouTubeHeader to YTHeaders..."
rm -rf "$THEOS/include/YTHeaders"
cp -r "$THEOS/include/YouTubeHeader" "$THEOS/include/YTHeaders"
fi
env:
THEOS: ${{ github.workspace }}/theos
@@ -300,6 +305,7 @@ jobs:
- name: Upload to GitHub Releases
uses: softprops/action-gh-release@v2.0.1
with:
tag_name: ytp-${{ github.run_number }}
name: YouTubePlus v${{ inputs.tweak_version }} (${{ github.run_number }})
files: YouTubePlus_${{ inputs.tweak_version }}.ipa
draft: true
+18 -15
View File
@@ -84,21 +84,25 @@ jobs:
- name: Hide sensitive inputs
uses: levibostian/action-hide-sensitive-inputs@v1
with:
exclude_inputs: bundle_id,display_name,enable_demc,enable_ryd,enable_youpip,enable_yq,enable_ytuhd,info_note
- name: Validate IPA URL
- name: Download and validate IPA
run: |
curl -L -r 0-1023 -o sample.part "${{ inputs.ipa_url }}" > /dev/null 2>&1
file_type=$(file --mime-type -b sample.part)
wget "${{ inputs.ipa_url }}" --no-verbose -O ${{ github.workspace }}/youtube.ipa
file_type=$(file --mime-type -b ${{ github.workspace }}/youtube.ipa)
if [[ "$file_type" != "application/x-ios-app" && "$file_type" != "application/zip" ]]; then
echo "::error::Validation failed: The file is not a valid IPA file. Detected type: $file_type."
echo "::error::Validation failed: The downloaded file is not a valid IPA. Detected type: $file_type."
exit 1
fi
- name: Validate Tweak URL
- name: Download and validate tweak
run: |
curl -L -r 0-1023 -o sample.part "${{ inputs.tweak_url }}" > /dev/null 2>&1
file_type=$(file --mime-type -b sample.part)
wget "${{ inputs.tweak_url }}" --no-verbose -O ${{ github.workspace }}/ytplus.deb
file_type=$(file --mime-type -b ${{ github.workspace }}/ytplus.deb)
if [[ "$file_type" != "application/vnd.debian.binary-package" ]]; then
echo "::error::Validation failed: The file is not a valid DEB file. Detected type: $file_type."
@@ -144,14 +148,6 @@ jobs:
- name: Install cyan
run: pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip
- name: Download YouTube
id: download_youtube
run: wget "${{ inputs.ipa_url }}" --no-verbose -O ${{ github.workspace }}/youtube.ipa
- name: Download YouTube Plus
id: download_ytp
run: wget "${{ inputs.tweak_url }}" --no-verbose -O ${{ github.workspace }}/ytplus.deb
- name: Clone Open in YouTube (Safari extension)
run: |
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/CokePokes/YoutubeExtensions/
@@ -171,6 +167,12 @@ jobs:
cd $THEOS/include
git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git
fi
if [ "${{ inputs.enable_demc }}" = "true" ]; then
echo "Copying YouTubeHeader to YTHeaders..."
rm -rf "$THEOS/include/YTHeaders"
cp -r "$THEOS/include/YouTubeHeader" "$THEOS/include/YTHeaders"
fi
env:
THEOS: ${{ github.workspace }}/theos
@@ -308,6 +310,7 @@ jobs:
- name: Upload to GitHub Releases
uses: softprops/action-gh-release@v2.0.1
with:
tag_name: ytp-beta-${{ github.run_number }}
name: YouTubePlus Beta (${{ github.run_number }})
files: YouTubePlus_Beta.ipa
draft: true
+7 -2
View File
@@ -62,7 +62,7 @@ Review by [@qbap](https://github.com/qbap) on ONE Jailbreak: https://onejailbrea
<li>Click the <strong>Run workflow</strong> button located on the right side.</li>
<li>Mark or unmark the tweaks you want to integrate. Learn more about them in the <a href="#tweak-integration-details">Tweak Integration Details</a> section.</li>
<li>Prepare a decrypted .ipa file <em>(we cannot provide this due to legal reasons)</em>, then upload it to a file provider (e.g., filebin.net, filemail.com, or Dropbox is recommended). Paste the URL of the decrypted IPA file in the provided field.</li>
<li><span style="color: red; font-weight: bold;">NOTE:</span> Make sure to provide a direct download link to the file, not a link to a webpage. Otherwise, the process will fail.</li>
<li><strong>NOTE:</strong> Make sure to provide a direct download link to the file, not a link to a webpage. Otherwise, the process will fail.</li>
<li>Enter the tweak version from the releases (the latest release is selected by default). You can also change the BundleID and Display Name if desired.</li>
<li>Make sure all inputs are correct, then click <strong>Run workflow</strong> to start the process.</li>
<li>Wait for the build to finish. You can download the YouTube Plus app from the releases section of your forked repo. (If you can't find the releases section, go to your forked repo and add /releases to the URL, i.e., github.com/user/YTLite/releases.)</li>
@@ -82,12 +82,17 @@ Review by [@qbap](https://github.com/qbap) on ONE Jailbreak: https://onejailbrea
<li>Mark or unmark the tweaks you want to integrate. Learn more about them in the <a href="#tweak-integration-details">Tweak Integration Details</a> section.</li>
<li>Prepare a decrypted .ipa file <em>(we cannot provide this due to legal reasons)</em>, then upload it to a file provider (e.g., filebin.net, filemail.com, or Dropbox is recommended). Paste the URL of the decrypted IPA file in the provided field.</li>
<li>Upload your beta tweak file to a file provider and paste direct link to the <strong>URL to the YouTube Plus tweak file</strong> field. You can also change the BundleID and Display Name if desired.</li>
<li><span style="color: red; font-weight: bold;">NOTE:</span> Make sure to provide a direct download link to the file, not a link to a webpage. Otherwise, the process will fail.</li>
<li><strong>NOTE:</strong> Make sure to provide a direct download link to the file, not a link to a webpage. Otherwise, the process will fail.</li>
<li>Make sure all inputs are correct, then click <strong>Run workflow</strong> to start the process.</li>
<li>Wait for the build to finish. You can download the YouTube Plus app from the releases section of your forked repo. (If you can't find the releases section, go to your forked repo and add /releases to the URL, i.e., github.com/user/YTLite/releases.)</li>
</ol>
</details>
## Supported YouTube Version
<li><strong>Latest confirmed:</strong> <em>20.29.3</em></li>
<li><strong>Date tested:</strong> <em>July 25, 2025</em></li>
<li><strong>YouTube Plus:</strong> <em>5.2 beta 2</em></li>
## Tweak Integration Details
<details>
<summary>YouPiP</summary>