forked from dayanch96/YTLite
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request dayanch96#209 from asdfzxcvbn/main
migrate to cyan, fixed build with tweaks workflow
- Loading branch information
Showing
2 changed files
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,8 +36,8 @@ jobs: | |
- name: Set PATH environment variable | ||
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH | ||
|
||
- name: Install Pyzule | ||
run: bash -c "$(curl https://raw.githubusercontent.com/asdfzxcvbn/pyzule/main/install-pyzule.sh)" | ||
- name: Install cyan | ||
run: pip install https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip | ||
|
||
- name: Download YouTube | ||
id: download_youtube | ||
|
@@ -58,7 +58,7 @@ jobs: | |
mv *.appex ${{ github.workspace }} | ||
- name: Inject tweak into IPA | ||
run: pyzule -i ${{ github.workspace }}/youtube.ipa -o ${{ github.workspace }}/YouTubePlus_${{ inputs.tweak_version }}.ipa -f ${{ github.workspace }}/ytplus.deb ${{ github.workspace }}/OpenYoutubeSafariExtension.appex -w -u | ||
run: cyan -i youtube.ipa -o YouTubePlus_${{ inputs.tweak_version }}.ipa -uwf ytplus.deb OpenYoutubeSafariExtension.appex | ||
|
||
- name: Upload to GitHub Releases | ||
uses: softprops/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ jobs: | |
submodules: recursive | ||
|
||
- name: Install Dependencies | ||
run: brew install make | ||
run: brew install make ldid | ||
|
||
- name: Set PATH environment variable | ||
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH | ||
|
@@ -69,8 +69,8 @@ jobs: | |
env: | ||
THEOS: ${{ github.workspace }}/theos | ||
|
||
- name: Install Pyzule | ||
run: bash -c "$(curl https://raw.githubusercontent.com/asdfzxcvbn/pyzule/main/install-pyzule.sh)" | ||
- name: Install cyan | ||
run: pip install https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip | ||
|
||
- name: Download YouTube | ||
id: download_youtube | ||
|
@@ -144,7 +144,9 @@ jobs: | |
THEOS: ${{ github.workspace }}/theos | ||
|
||
- name: Inject tweaks into IPA | ||
run: pyzule -i ${{ github.workspace }}/youtube.ipa -o ${{ github.workspace }}/YouTubePlus_${{ inputs.tweak_version }}_Tweaks.ipa -w -u -f ${{ github.workspace }}/ytplus.deb ${{ github.workspace }}/OpenYoutubeSafariExtension.appex ${{ github.workspace }}/youpip.deb ${{ github.workspace }}/ytuhd.deb ${{ github.workspace }}/ryd.deb | ||
run: | | ||
cyan -i youtube.ipa -o YouTubePlus_${{ inputs.tweak_version }}_Tweaks.ipa \ | ||
-uwf ytplus.deb OpenYoutubeSafariExtension.appex youpip.deb ytuhd.deb ryd.deb | ||
- name: Upload to GitHub Releases | ||
uses: softprops/[email protected] | ||
|