From 1af59a0337067d57f4fe9037e5251b77eb8dc112 Mon Sep 17 00:00:00 2001 From: Jason Dove Date: Sun, 23 Jan 2022 18:47:00 -0600 Subject: [PATCH] don't use macos launcher script --- ErsatzTV/ErsatzTV.csproj | 13 ------------- scripts/macOS/Info.plist | 2 +- scripts/macOS/bundle.sh | 1 - scripts/macOS/launcher.sh | 9 --------- 4 files changed, 1 insertion(+), 24 deletions(-) delete mode 100755 scripts/macOS/launcher.sh diff --git a/ErsatzTV/ErsatzTV.csproj b/ErsatzTV/ErsatzTV.csproj index 2cc721121..9ae17abf4 100644 --- a/ErsatzTV/ErsatzTV.csproj +++ b/ErsatzTV/ErsatzTV.csproj @@ -4,18 +4,6 @@ net6.0 VSTHRD200 true - osx-x64;osx-arm64 - - - - ErsatzTV - ErsatzTV - com.jasongdove.ersatztv - APPL - launcher.sh - ErsatzTV.icns - NSApplication - true @@ -25,7 +13,6 @@ - diff --git a/scripts/macOS/Info.plist b/scripts/macOS/Info.plist index d8b75487e..64e7c1c82 100644 --- a/scripts/macOS/Info.plist +++ b/scripts/macOS/Info.plist @@ -5,7 +5,7 @@ CFBundleDisplayName ErsatzTV CFBundleExecutable - launcher.sh + ErsatzTV CFBundleIconFile ErsatzTV.icns CFBundleIdentifier diff --git a/scripts/macOS/bundle.sh b/scripts/macOS/bundle.sh index 2704d3422..c5d06329a 100755 --- a/scripts/macOS/bundle.sh +++ b/scripts/macOS/bundle.sh @@ -23,4 +23,3 @@ 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/" \ No newline at end of file diff --git a/scripts/macOS/launcher.sh b/scripts/macOS/launcher.sh deleted file mode 100755 index 34e2aef04..000000000 --- a/scripts/macOS/launcher.sh +++ /dev/null @@ -1,9 +0,0 @@ -#! /bin/sh - -# Set the working directory -DIR=$(cd "$(dirname "$0")"; pwd) - -# Run the application -echo "running from $DIR" - -open -a Terminal $DIR/ErsatzTV