Skip to content

Commit

Permalink
Update Build and Release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yodaluca23 authored Jun 26, 2024
1 parent 7b14789 commit b9e975b
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/Build and Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ jobs:
echo "EXTCOMMIT=$(git -C OpenSpotifySafariExtension rev-parse --short HEAD)"
echo "EXTCOMMIT=$(git -C OpenSpotifySafariExtension rev-parse --short HEAD)" >> $GITHUB_ENV
echo "Extensions Commit is: $EXTCOMMIT"
echo "OSSEXT='Build Components/OpenSpotifySafariExtension.appex'" >> $GITHUB_ENV
- name: Compress OpenSpotifySafariExtension to zip
run: |
Expand Down Expand Up @@ -400,21 +401,13 @@ jobs:
echo "VANILLASPOTIFYVERSION=$(/usr/libexec/PlistBuddy -c "Print :SpotifyVersionShort" Info.plist)"
echo "VANILLASPOTIFYVERSION=$(/usr/libexec/PlistBuddy -c "Print :SpotifyVersionShort" Info.plist)" >> $GITHUB_ENV
echo "Vanilla Spotify Version: $VANILLASPOTIFYVERSION"
- name: Modify Spotify with OpenSpotifySafariExtension.appex
run: |
cd "Build Components"
cp -R "OpenSpotifySafariExtension.appex" Payload/Spotify.app/PlugIns/
ditto -c -k --sequesterRsrc --keepParent "Payload" "SpotifyEXT.ipa"
echo "spotifyEXTpath=Build Components/SpotifyEXT.ipa" >> $GITHUB_ENV
#Clean Up
rm -rf Payload
rm -f SpotifyAnylises.zip
rm -f Info.plist
rm -f OpenSpotifySafariExtension.zip
rm -rf OpenSpotifySafariExtension.appex
- name: Set Change Version
id: set-change-version
run: |
Expand Down Expand Up @@ -444,7 +437,7 @@ jobs:

- name: Run Pyzule
run: |
pyzule -i "${{ env.spotifyEXTpath }}" -o "${{ env.componentspath }}/SpotC++.v${{ env.CHANGEVERSION }}_v${{ env.VANILLASPOTIFYVERSION }}.ipa" -v ${{ env.CHANGEVERSION }} -b com.yodaluca23.SpotCPlusPlus -f "${{ env.sposifyfix }}" "${{ env.sposify }}" "${{ env.orion }}" "${{ env.swiftprotobuf }}" "${{ env.eevee-arm }}" -u -w
pyzule -i "${{ env.spotifypath }}" -o "${{ env.componentspath }}/SpotC++.v${{ env.CHANGEVERSION }}_v${{ env.VANILLASPOTIFYVERSION }}.ipa" -v ${{ env.CHANGEVERSION }} -b com.yodaluca23.SpotCPlusPlus -f "${{ env.sposifyfix }}" "${{ env.sposify }}" "${{ env.OSSEXT }}" "${{ env.orion }}" "${{ env.swiftprotobuf }}" "${{ env.eevee-arm }}" -u -w
echo "patchedspotify=${{ env.componentspath }}/SpotC++.v${{ env.CHANGEVERSION }}_v${{ env.VANILLASPOTIFYVERSION }}.ipa"
echo "patchedspotify=${{ env.componentspath }}/SpotC++.v${{ env.CHANGEVERSION }}_v${{ env.VANILLASPOTIFYVERSION }}.ipa" >> $GITHUB_ENV
echo "Patched Spotify .ipa Located: $patchedspotify"
Expand Down

0 comments on commit b9e975b

Please sign in to comment.