Skip to content

Commit 8c79a6c

Browse files
committed
5.2b2
1 parent 22f7f40 commit 8c79a6c

File tree

3 files changed

+40
-26
lines changed

3 files changed

+40
-26
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ on:
4242

4343
tweak_version:
4444
description: "The version of the tweak to use. Enter the version manually from dayanch96/YTLite/releases or leave default"
45-
default: "5.2b1"
45+
default: "5.2b2"
4646
required: true
4747
type: string
4848

@@ -84,14 +84,17 @@ jobs:
8484

8585
- name: Hide sensitive inputs
8686
uses: levibostian/action-hide-sensitive-inputs@v1
87+
with:
88+
exclude_inputs: bundle_id,display_name,enable_demc,enable_ryd,enable_youpip,enable_yq,enable_ytuhd,info_note,tweak_version
8789

88-
- name: Validate IPA URL
90+
- name: Download and validate IPA
8991
run: |
90-
curl -L -r 0-1023 -o sample.part "${{ inputs.ipa_url }}" > /dev/null 2>&1
91-
file_type=$(file --mime-type -b sample.part)
92+
wget "${{ inputs.ipa_url }}" --no-verbose -O ${{ github.workspace }}/youtube.ipa
93+
94+
file_type=$(file --mime-type -b ${{ github.workspace }}/youtube.ipa)
9295
9396
if [[ "$file_type" != "application/x-ios-app" && "$file_type" != "application/zip" ]]; then
94-
echo "::error::Validation failed: The file is not a valid IPA file. Detected type: $file_type."
97+
echo "::error::Validation failed: The downloaded file is not a valid IPA. Detected type: $file_type."
9598
exit 1
9699
fi
97100
@@ -140,10 +143,6 @@ jobs:
140143
deb_url="https://github.com/dayanch96/YTLite/releases/download/v${{ inputs.tweak_version }}/com.dvntm.ytlite_${{ inputs.tweak_version }}_iphoneos-arm.deb"
141144
wget "$deb_url" --no-verbose -O ${{ github.workspace }}/ytplus.deb
142145
143-
- name: Download YouTube
144-
id: download_youtube
145-
run: wget "${{ inputs.ipa_url }}" --no-verbose -O ${{ github.workspace }}/youtube.ipa
146-
147146
- name: Clone Open in YouTube (Safari extension)
148147
run: |
149148
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/CokePokes/YoutubeExtensions/
@@ -163,6 +162,12 @@ jobs:
163162
cd $THEOS/include
164163
git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git
165164
fi
165+
166+
if [ "${{ inputs.enable_demc }}" = "true" ]; then
167+
echo "Copying YouTubeHeader to YTHeaders..."
168+
rm -rf "$THEOS/include/YTHeaders"
169+
cp -r "$THEOS/include/YouTubeHeader" "$THEOS/include/YTHeaders"
170+
fi
166171
env:
167172
THEOS: ${{ github.workspace }}/theos
168173

@@ -300,6 +305,7 @@ jobs:
300305
- name: Upload to GitHub Releases
301306
uses: softprops/[email protected]
302307
with:
308+
tag_name: ytp-${{ github.run_number }}
303309
name: YouTubePlus v${{ inputs.tweak_version }} (${{ github.run_number }})
304310
files: YouTubePlus_${{ inputs.tweak_version }}.ipa
305311
draft: true

.github/workflows/ytp_beta.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -84,21 +84,25 @@ jobs:
8484

8585
- name: Hide sensitive inputs
8686
uses: levibostian/action-hide-sensitive-inputs@v1
87+
with:
88+
exclude_inputs: bundle_id,display_name,enable_demc,enable_ryd,enable_youpip,enable_yq,enable_ytuhd,info_note
8789

88-
- name: Validate IPA URL
90+
- name: Download and validate IPA
8991
run: |
90-
curl -L -r 0-1023 -o sample.part "${{ inputs.ipa_url }}" > /dev/null 2>&1
91-
file_type=$(file --mime-type -b sample.part)
92+
wget "${{ inputs.ipa_url }}" --no-verbose -O ${{ github.workspace }}/youtube.ipa
93+
94+
file_type=$(file --mime-type -b ${{ github.workspace }}/youtube.ipa)
9295
9396
if [[ "$file_type" != "application/x-ios-app" && "$file_type" != "application/zip" ]]; then
94-
echo "::error::Validation failed: The file is not a valid IPA file. Detected type: $file_type."
97+
echo "::error::Validation failed: The downloaded file is not a valid IPA. Detected type: $file_type."
9598
exit 1
9699
fi
97100
98-
- name: Validate Tweak URL
101+
- name: Download and validate tweak
99102
run: |
100-
curl -L -r 0-1023 -o sample.part "${{ inputs.tweak_url }}" > /dev/null 2>&1
101-
file_type=$(file --mime-type -b sample.part)
103+
wget "${{ inputs.tweak_url }}" --no-verbose -O ${{ github.workspace }}/ytplus.deb
104+
105+
file_type=$(file --mime-type -b ${{ github.workspace }}/ytplus.deb)
102106
103107
if [[ "$file_type" != "application/vnd.debian.binary-package" ]]; then
104108
echo "::error::Validation failed: The file is not a valid DEB file. Detected type: $file_type."
@@ -144,14 +148,6 @@ jobs:
144148
- name: Install cyan
145149
run: pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip
146150

147-
- name: Download YouTube
148-
id: download_youtube
149-
run: wget "${{ inputs.ipa_url }}" --no-verbose -O ${{ github.workspace }}/youtube.ipa
150-
151-
- name: Download YouTube Plus
152-
id: download_ytp
153-
run: wget "${{ inputs.tweak_url }}" --no-verbose -O ${{ github.workspace }}/ytplus.deb
154-
155151
- name: Clone Open in YouTube (Safari extension)
156152
run: |
157153
git clone --quiet -n --depth=1 --filter=tree:0 https://github.com/CokePokes/YoutubeExtensions/
@@ -171,6 +167,12 @@ jobs:
171167
cd $THEOS/include
172168
git clone --quiet --depth=1 https://github.com/PoomSmart/YouTubeHeader.git
173169
fi
170+
171+
if [ "${{ inputs.enable_demc }}" = "true" ]; then
172+
echo "Copying YouTubeHeader to YTHeaders..."
173+
rm -rf "$THEOS/include/YTHeaders"
174+
cp -r "$THEOS/include/YouTubeHeader" "$THEOS/include/YTHeaders"
175+
fi
174176
env:
175177
THEOS: ${{ github.workspace }}/theos
176178

@@ -308,6 +310,7 @@ jobs:
308310
- name: Upload to GitHub Releases
309311
uses: softprops/[email protected]
310312
with:
313+
tag_name: ytp-beta-${{ github.run_number }}
311314
name: YouTubePlus Beta (${{ github.run_number }})
312315
files: YouTubePlus_Beta.ipa
313316
draft: true

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Review by [@qbap](https://github.com/qbap) on ONE Jailbreak: https://onejailbrea
6262
<li>Click the <strong>Run workflow</strong> button located on the right side.</li>
6363
<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>
6464
<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>
65-
<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>
65+
<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>
6666
<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>
6767
<li>Make sure all inputs are correct, then click <strong>Run workflow</strong> to start the process.</li>
6868
<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
8282
<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>
8383
<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>
8484
<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>
85-
<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>
85+
<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>
8686
<li>Make sure all inputs are correct, then click <strong>Run workflow</strong> to start the process.</li>
8787
<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>
8888
</ol>
8989
</details>
9090

91+
## Supported YouTube Version
92+
<li><strong>Latest confirmed:</strong> <em>20.29.3</em></li>
93+
<li><strong>Date tested:</strong> <em>July 25, 2025</em></li>
94+
<li><strong>YouTube Plus:</strong> <em>5.2 beta 2</em></li>
95+
9196
## Tweak Integration Details
9297
<details>
9398
<summary>YouPiP</summary>

0 commit comments

Comments
 (0)