diff --git a/.gitignore b/.gitignore index dfcfd56..a73a38f 100644 --- a/.gitignore +++ b/.gitignore @@ -348,3 +348,4 @@ MigrationBackup/ # Ionide (cross platform F# VS Code tools) working folder .ionide/ +.DS_Store diff --git a/src/AvaloniaCoreRTDemo.csproj b/src/AvaloniaCoreRTDemo.csproj index 0da74cb..cb8dc42 100644 --- a/src/AvaloniaCoreRTDemo.csproj +++ b/src/AvaloniaCoreRTDemo.csproj @@ -4,6 +4,7 @@ WinExe net5.0 AnyCPU;x64 + app.ico @@ -36,6 +37,7 @@ + @@ -45,11 +47,29 @@ PreserveNewest - + PreserveNewest + + PreserveNewest + + + $(AssemblyName) + $(AssemblyName) + com.$(username).$(AssemblyName) + 1.0.0 + APPL + + $(AssemblyName) + app.icns + NSApplication + true + 1.0 + + true + diff --git a/src/app.icns b/src/app.icns new file mode 100644 index 0000000..09e704f Binary files /dev/null and b/src/app.icns differ diff --git a/test.command b/test.command index 0ad68db..bfe0ea5 100755 --- a/test.command +++ b/test.command @@ -4,4 +4,5 @@ if [ -d "$dir" ]; then cd "$dir" fi rm -f src/packages.lock.json -dotnet publish -r osx-x64 -c release /p:RestoreLockedMode=true \ No newline at end of file +dotnet publish -r osx-x64 -c release /p:RestoreLockedMode=true -t:BundleApp +strip src/bin/Release/net*/osx-x64/publish/AvaloniaCoreRTDemo.app/Contents/MacOS/AvaloniaCoreRTDemo \ No newline at end of file