Browse Source

re-add mac launcher script

pull/589/head
Jason Dove 4 years ago
parent
commit
135628441a
  1. 2
      scripts/macOS/Info.plist
  2. 1
      scripts/macOS/bundle.sh
  3. 9
      scripts/macOS/launcher.sh

2
scripts/macOS/Info.plist

@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
<key>CFBundleDisplayName</key>
<string>ErsatzTV</string>
<key>CFBundleExecutable</key>
<string>ErsatzTV</string>
<string>launcher.sh</string>
<key>CFBundleIconFile</key>
<string>ErsatzTV.icns</string>
<key>CFBundleIdentifier</key>

1
scripts/macOS/bundle.sh

@ -23,3 +23,4 @@ mkdir "$APP_NAME/Contents/Resources" @@ -23,3 +23,4 @@ mkdir "$APP_NAME/Contents/Resources"
cp "$INFO_PLIST" "$APP_NAME/Contents/Info.plist"
cp "$ICON_SOURCE" "$APP_NAME/Contents/Resources/$ICON_FILE"
cp -a "$PUBLISH_OUTPUT_DIRECTORY" "$APP_NAME/Contents/MacOS"
cp "$SCRIPT_FOLDER/launcher.sh" "$APP_NAME/Contents/MacOS/"

9
scripts/macOS/launcher.sh

@ -0,0 +1,9 @@ @@ -0,0 +1,9 @@
#! /bin/sh
# Set the working directory
DIR=$(cd "$(dirname "$0")"; pwd)
# Run the application
echo "running from $DIR"
open -a Terminal $DIR/ErsatzTV
Loading…
Cancel
Save