-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 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 |
---|---|---|
|
@@ -16,7 +16,7 @@ concurrency: | |
jobs: | ||
build: | ||
name: Build YTMusicUltimate | ||
runs-on: macos-12 | ||
runs-on: macos-latest | ||
permissions: | ||
contents: write | ||
|
||
|
@@ -29,7 +29,6 @@ jobs: | |
|
||
- name: Install Dependencies | ||
run: brew install ldid dpkg make coreutils | ||
|
||
|
||
- name: Set PATH environment variable | ||
run: echo "$(brew --prefix make)/libexec/gnubin" >> $GITHUB_PATH | ||
|
@@ -38,10 +37,9 @@ jobs: | |
uses: actions/[email protected] | ||
with: | ||
repository: theos/theos | ||
ref: 3da31488281ecf4394d10302d2629607f4a1aa07 | ||
path: theos | ||
submodules: recursive | ||
|
||
- name: SDK Caching | ||
id: SDK | ||
uses: actions/[email protected] | ||
|
@@ -65,8 +63,7 @@ jobs: | |
|
||
- name: Prepare YouTube Music iPA | ||
id: prepare_youtube_music | ||
run: | | ||
wget "$YOUTUBE_MUSIC_URL" --no-verbose -O main/YouTubeMusic.ipa | ||
run: wget "$YOUTUBE_MUSIC_URL" --no-verbose -O main/YouTubeMusic.ipa | ||
|
||
env: | ||
YOUTUBE_MUSIC_URL: ${{ inputs.decrypted_youtube_music_url }} | ||
|
@@ -79,12 +76,16 @@ jobs: | |
env: | ||
THEOS: ${{ github.workspace }}/theos | ||
|
||
- name: Install Cyan | ||
run: | | ||
brew install pipx | ||
pipx install --force https://github.com/asdfzxcvbn/pyzule-rw/archive/main.zip | ||
- name: Inject tweak into provided IPA | ||
run: | | ||
cd ${{ github.workspace }}/main/packages | ||
tweakName=$(ls) | ||
cd ${{ github.workspace }}/main | ||
pip3 install --force-reinstall lief git+https://github.com/asdfzxcvbn/pyzule-rw.git#egg=cyan | ||
cyan -i YouTubeMusic.ipa -o packages/YTMusicUltimate.ipa -uwsf packages/$tweakName | ||
- name: Create Release | ||
|