Browse Source

bundle ersatztv-channel binary with macos app (#2856)

pull/2857/head
Jason Dove 1 month ago committed by GitHub
parent
commit
f7853e80e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 14
      .github/workflows/artifacts.yml

14
.github/workflows/artifacts.yml

@ -92,6 +92,20 @@ jobs:
plutil -replace CFBundleVersion -string "${{ inputs.info_version }}" ErsatzTV-macOS/ErsatzTV-macOS/Info.plist plutil -replace CFBundleVersion -string "${{ inputs.info_version }}" ErsatzTV-macOS/ErsatzTV-macOS/Info.plist
scripts/macOS/bundle.sh scripts/macOS/bundle.sh
- name: Bundle ersatztv-channel from next
shell: bash
env:
GH_TOKEN: ${{ github.token }}
run: |
next_target="${{ matrix.target }}"
next_target="${next_target/osx/macos}"
gh release download develop --repo ErsatzTV/next --pattern "ersatztv-next-*-${next_target}.tar.gz" --dir next-download
mkdir next-extracted
tar xzvf next-download/*.tar.gz -C next-extracted --strip-components 1
mv next-extracted/ersatztv-channel ErsatzTV-Legacy.app/Contents/MacOS/
chmod +x ErsatzTV-Legacy.app/Contents/MacOS/ersatztv-channel
rm -rf next-download next-extracted
- name: Sign - name: Sign
shell: bash shell: bash
run: scripts/macOS/sign.sh run: scripts/macOS/sign.sh

Loading…
Cancel
Save