
* Preserve window size when swapping Fluent and Simple themes. * Simplify test batch files. * Trim output. * Different output type depending on the configuration.
10 lines
435 B
Bash
Executable File
10 lines
435 B
Bash
Executable File
#!/bin/bash
|
|
dir=${0%/*}
|
|
if [ -d "$dir" ]; then
|
|
cd "$dir"
|
|
fi
|
|
rm -f src/packages.lock.json
|
|
dotnet publish -r osx-x64 -c Release /p:RestoreLockedMode=true -t:BundleApp
|
|
rm -rf src/bin/x64/Release/net7.0/osx-x64/publish/Assets/
|
|
rm -rf src/bin/x64/Release/net7.0/osx-x64/publish/AvaloniaCoreRTDemo.app/Contents/MacOS/Assets/
|
|
rm src/bin/x64/Release/net7.0/osx-x64/publish/AvaloniaCoreRTDemo.app/Contents/MacOS/AvaloniaCoreRTDemo.dwarf |