don't use macos launcher script

This commit is contained in:
Jason Dove
2022-01-23 18:47:00 -06:00
parent c4c97fcc8c
commit 1af59a0337
4 changed files with 1 additions and 24 deletions
-13
View File
@@ -4,18 +4,6 @@
<TargetFramework>net6.0</TargetFramework>
<NoWarn>VSTHRD200</NoWarn>
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract>
<RuntimeIdentifiers>osx-x64;osx-arm64</RuntimeIdentifiers>
</PropertyGroup>
<PropertyGroup>
<CFBundleName>ErsatzTV</CFBundleName>
<CFBundleDisplayName>ErsatzTV</CFBundleDisplayName>
<CFBundleIdentifier>com.jasongdove.ersatztv</CFBundleIdentifier>
<CFBundlePackageType>APPL</CFBundlePackageType>
<CFBundleExecutable>launcher.sh</CFBundleExecutable>
<CFBundleIconFile>ErsatzTV.icns</CFBundleIconFile>
<NSPrincipalClass>NSApplication</NSPrincipalClass>
<NSHighResolutionCapable>true</NSHighResolutionCapable>
</PropertyGroup>
<ItemGroup>
@@ -25,7 +13,6 @@
<ItemGroup>
<PackageReference Include="Blazored.LocalStorage" Version="4.1.5" />
<PackageReference Include="DotNet.Bundle" Version="0.9.13" />
<PackageReference Include="FluentValidation" Version="10.3.6" />
<PackageReference Include="FluentValidation.AspNetCore" Version="10.3.6" />
<PackageReference Include="HtmlSanitizer" Version="6.0.453" />
+1 -1
View File
@@ -5,7 +5,7 @@
<key>CFBundleDisplayName</key>
<string>ErsatzTV</string>
<key>CFBundleExecutable</key>
<string>launcher.sh</string>
<string>ErsatzTV</string>
<key>CFBundleIconFile</key>
<string>ErsatzTV.icns</string>
<key>CFBundleIdentifier</key>
-1
View File
@@ -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/"
-9
View File
@@ -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