Browse Source

use absolute paths in bundle script

pull/600/head
Jason Dove 4 years ago
parent
commit
a487e7fe15
  1. 1
      .github/workflows/artifacts.yml
  2. 2
      scripts/macOS/bundle.sh

1
.github/workflows/artifacts.yml

@ -76,6 +76,7 @@ jobs: @@ -76,6 +76,7 @@ jobs:
- name: Bundle
shell: bash
run: |
brew install coreutils
plutil -replace CFBundleShortVersionString -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

2
scripts/macOS/bundle.sh

@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@
#! /bin/bash
SCRIPT_FOLDER=$(dirname ${BASH_SOURCE[0]})
REPO_ROOT="$SCRIPT_FOLDER/../.."
REPO_ROOT=$(realpath "$SCRIPT_FOLDER/../..")
APP_NAME="$REPO_ROOT/ErsatzTV.app"
PUBLISH_OUTPUT_DIRECTORY="$REPO_ROOT/publish/."

Loading…
Cancel
Save