From 5a780eb17b4e58ff61a094fa3608de271a6793c5 Mon Sep 17 00:00:00 2001 From: Adrian Castro <22133246+castdrian@users.noreply.github.com> Date: Wed, 3 Jul 2024 12:46:00 +0200 Subject: [PATCH] chore: remove manual orion stuff (#12) Co-authored-by: Adrian Castro --- .github/workflows/build.yml | 9 +-------- .github/workflows/release.yml | 9 +-------- 2 files changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a454e23..0559493 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -105,13 +105,6 @@ jobs: with: merge-multiple: true - - name: Download and Unzip Orion - run: | - latest_release_info=$(gh api --header 'Accept: application/vnd.github+json' repos/theos/orion/releases/latest) - download_url=$(echo $latest_release_info | jq -r '.assets[0].browser_download_url') - curl -L -o Orion.zip "$download_url" - unzip Orion.zip - - name: Download Discord IPA run: | curl -L -o discord.ipa ${{ github.event.inputs.ipa_url }} @@ -133,7 +126,7 @@ jobs: - name: Inject tweak run: | bash -c "$(curl https://raw.githubusercontent.com/asdfzxcvbn/pyzule/main/install-pyzule.sh)" - pyzule -n ${{ env.APP_NAME }} -k PyoncordIcon60x60@2x.png -d -i discord.ipa -o ${{ github.workspace }}/${{ env.APP_NAME }}.ipa -f $(find ${{ github.workspace }} -name 'dev.theos.orion14_*_iphoneos-arm.deb' | head -n 1) ${{ github.workspace }}/${{ env.DEB_FILE_NAME }} + pyzule -n ${{ env.APP_NAME }} -k PyoncordIcon60x60@2x.png -d -i discord.ipa -o ${{ github.workspace }}/${{ env.APP_NAME }}.ipa -f ${{ github.workspace }}/${{ env.DEB_FILE_NAME }} - name: Upload ipa as artifact uses: actions/upload-artifact@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8c0c1a8..24deecb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -105,13 +105,6 @@ jobs: with: merge-multiple: true - - name: Download and Unzip Orion - run: | - latest_release_info=$(gh api --header 'Accept: application/vnd.github+json' repos/theos/orion/releases/latest) - download_url=$(echo $latest_release_info | jq -r '.assets[0].browser_download_url') - curl -L -o Orion.zip "$download_url" - unzip Orion.zip - - name: Download Discord IPA run: | curl -L -o discord.ipa ${{ github.event.inputs.ipa_url }} @@ -135,7 +128,7 @@ jobs: - name: Inject tweak run: | bash -c "$(curl https://raw.githubusercontent.com/asdfzxcvbn/pyzule/main/install-pyzule.sh)" - pyzule -n ${{ env.APP_NAME }} -k PyoncordIcon60x60@2x.png -d -i discord.ipa -o ${{ github.workspace }}/${{ env.APP_NAME }}.ipa -f $(find ${{ github.workspace }} -name 'dev.theos.orion14_*_iphoneos-arm.deb' | head -n 1) ${{ github.workspace }}/${{ env.DEB_FILE_NAME }} + pyzule -n ${{ env.APP_NAME }} -k PyoncordIcon60x60@2x.png -d -i discord.ipa -o ${{ github.workspace }}/${{ env.APP_NAME }}.ipa -f ${{ github.workspace }}/${{ env.DEB_FILE_NAME }} - name: Upload ipa as artifact uses: actions/upload-artifact@v4