From 5744e61c9d32b6c5e7ca8ed89420f9e032a17cb9 Mon Sep 17 00:00:00 2001 From: amsyarasyiq <82711525+amsyarasyiq@users.noreply.github.com> Date: Fri, 17 May 2024 02:18:14 +0800 Subject: [PATCH] feat(ci): unhardcode patcher output --- .github/workflows/build.yml | 8 +++++--- .github/workflows/release.yml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 7ba37a3..11a7dda 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -80,7 +80,7 @@ jobs: - name: Download IPA patcher working-directory: patcher run: | - curl -L -o patcher https://github.com/amsyarasyiq/pyoncord-ipa-patcher/releases/download/release-pyon/patcher.mac-amd64 + curl -L -o patcher https://github.com/amsyarasyiq/bunny-ipa-patcher/releases/download/release-pyon/patcher.mac-amd64 chmod +x patcher - name: Download IPA icons @@ -107,8 +107,10 @@ jobs: - name: Patch Discord working-directory: patcher run : | - ./patcher -d ${{ github.workspace }}/build/${{ env.APP_NAME }}.ipa -i ./ipa-icons.zip - mv -f ./*.ipa "${{ github.workspace }}/build/${{ env.APP_NAME }}.ipa" + ./patcher \ + -d ${{ github.workspace }}/build/${{ env.APP_NAME }}.ipa \ + -o ${{ github.workspace }}/build/${{ env.APP_NAME }}.ipa \ + -i ./ipa-icons.zip - name: Upload ipa as artifact uses: actions/upload-artifact@v4 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 57fc042..95f40e5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -80,7 +80,7 @@ jobs: - name: Download IPA patcher working-directory: patcher run: | - curl -L -o patcher https://github.com/amsyarasyiq/pyoncord-ipa-patcher/releases/download/release-pyon/patcher.mac-amd64 + curl -L -o patcher https://github.com/amsyarasyiq/bunny-ipa-patcher/releases/download/release-pyon/patcher.mac-amd64 chmod +x patcher - name: Download IPA icons @@ -109,8 +109,10 @@ jobs: - name: Patch Discord working-directory: patcher run : | - ./patcher -d ${{ github.workspace }}/build/${{ env.APP_NAME }}.ipa -i ./ipa-icons.zip - mv -f ./*.ipa "${{ github.workspace }}/build/${{ env.APP_NAME }}.ipa" + ./patcher \ + -d ${{ github.workspace }}/build/${{ env.APP_NAME }}.ipa \ + -o ${{ github.workspace }}/build/${{ env.APP_NAME }}.ipa \ + -i ./ipa-icons.zip - name: Upload ipa as artifact uses: actions/upload-artifact@v4