Fix macOS CI

This commit is contained in:
Victor Tran 2022-04-27 11:54:18 +10:00 committed by GitHub
parent b47c18c3f3
commit a8f67b4a38
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -e
cd ..
APP_BUNDLE=Distribution/FRESHMusicPlayer.app
@ -8,7 +10,7 @@ RESOURCES_BUNDLE=$APP_BUNDLE/Contents/Resources
rm -rf $APP_BUNDLE || true
pushd FRESHMusicPlayer/FRESHMusicPlayer-Avalonia
dotnet publish -r osx-$BUILD_ARC}
dotnet publish -r osx-$BUILD_ARCH
popd
mkdir -p $APP_BUNDLE/Contents/MacOS