feat(ci): unhardcode patcher output
This commit is contained in:
parent
f1fb91448c
commit
5744e61c9d
2 changed files with 10 additions and 6 deletions
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue