cache, bundle id, display name, psheader

- Switches to major cache version
- Adds bundleID and display name change support
- Adds PSHeader submodule
- Removes app extensions
This commit is contained in:
Dan
2025-01-30 02:18:01 +03:00
parent ba93288fb6
commit d08ddbf464
3 changed files with 58 additions and 6 deletions
+28 -2
View File
@@ -46,6 +46,18 @@ on:
required: true
type: string
display_name:
description: "App Name (Optional)"
default: "YouTube"
required: true
type: string
bundle_id:
description: "BundleID (Optional)"
default: "com.google.ios.youtube"
required: true
type: string
info_note:
description: "TIP: Learn more about integrations in the README via the link below"
default: "https://github.com/dayanch96/YTLite#tweak-integration-details"
@@ -91,7 +103,7 @@ jobs:
- name: Cache Theos
id: theos
uses: actions/cache@v4.0.1
uses: actions/cache@v4
env:
cache-name: theos_cache_67db2ab
with:
@@ -154,6 +166,20 @@ jobs:
env:
THEOS: ${{ github.workspace }}/theos
- name: Clone PSHeader
run: |
if [ -d "$THEOS/include/PSHeader" ]; then
echo "PSHeader exists. Pulling latest changes..."
cd $THEOS/include/PSHeader
git pull
else
echo "PSHeader does not exist. Cloning repository..."
cd $THEOS/include
git clone --quiet --depth=1 https://github.com/PoomSmart/PSHeader.git
fi
env:
THEOS: ${{ github.workspace }}/theos
- name: Clone YouPiP
if: ${{ inputs.enable_youpip }}
run: |
@@ -269,7 +295,7 @@ jobs:
fi
done
cyan -i youtube.ipa -o YouTubePlus_${{ inputs.tweak_version }}.ipa -uwf $tweaks
cyan -i youtube.ipa -o YouTubePlus_${{ inputs.tweak_version }}.ipa -uwef $tweaks -n "${{ inputs.display_name }}" -b ${{ inputs.bundle_id }}
- name: Upload to GitHub Releases
uses: softprops/action-gh-release@v2.0.1
+28 -2
View File
@@ -46,6 +46,18 @@ on:
required: true
type: string
display_name:
description: "App Name (Optional)"
default: "YouTube"
required: true
type: string
bundle_id:
description: "BundleID (Optional)"
default: "com.google.ios.youtube"
required: true
type: string
info_note:
description: "TIP: Learn more about integrations in the README via the link below"
default: "https://github.com/dayanch96/YTLite#tweak-integration-details"
@@ -101,7 +113,7 @@ jobs:
- name: Cache Theos
id: theos
uses: actions/cache@v4.0.1
uses: actions/cache@v4
env:
cache-name: theos_cache_67db2ab
with:
@@ -162,6 +174,20 @@ jobs:
env:
THEOS: ${{ github.workspace }}/theos
- name: Clone PSHeader
run: |
if [ -d "$THEOS/include/PSHeader" ]; then
echo "PSHeader exists. Pulling latest changes..."
cd $THEOS/include/PSHeader
git pull
else
echo "PSHeader does not exist. Cloning repository..."
cd $THEOS/include
git clone --quiet --depth=1 https://github.com/PoomSmart/PSHeader.git
fi
env:
THEOS: ${{ github.workspace }}/theos
- name: Clone YouPiP
if: ${{ inputs.enable_youpip }}
run: |
@@ -277,7 +303,7 @@ jobs:
fi
done
cyan -i youtube.ipa -o YouTubePlus_Beta.ipa -uwf $tweaks
cyan -i youtube.ipa -o YouTubePlus_Beta.ipa -uwef $tweaks -n "${{ inputs.display_name }}" -b ${{ inputs.bundle_id }}
- name: Upload to GitHub Releases
uses: softprops/action-gh-release@v2.0.1
+2 -2
View File
@@ -63,7 +63,7 @@ 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><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>Enter the tweak version from the releases (the latest release is selected by default).</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>
</ol>
@@ -81,7 +81,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>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.</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>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>