From f7853e80e124754cd7599b3078c25a200c092486 Mon Sep 17 00:00:00 2001 From: Jason Dove <1695733+jasongdove@users.noreply.github.com> Date: Sun, 19 Apr 2026 21:27:14 -0500 Subject: [PATCH] bundle ersatztv-channel binary with macos app (#2856) --- .github/workflows/artifacts.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/artifacts.yml b/.github/workflows/artifacts.yml index 9d592ee4b..d02b874ea 100644 --- a/.github/workflows/artifacts.yml +++ b/.github/workflows/artifacts.yml @@ -92,6 +92,20 @@ jobs: plutil -replace CFBundleVersion -string "${{ inputs.info_version }}" ErsatzTV-macOS/ErsatzTV-macOS/Info.plist 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 shell: bash run: scripts/macOS/sign.sh