mirror of
https://github.com/Royce551/FRESHMusicPlayer.git
synced 2025-01-22 10:51:52 -05:00
18 lines
No EOL
483 B
Bash
Executable file
18 lines
No EOL
483 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cd ..
|
|
|
|
APP_BUNDLE=Distribution/FRESHMusicPlayer.app
|
|
RESOURCES_BUNDLE=$APP_BUNDLE/Contents/Resources
|
|
|
|
rm -rf $APP_BUNDLE || true
|
|
|
|
pushd FRESHMusicPlayer/FRESHMusicPlayer-Avalonia
|
|
dotnet publish -r osx-x64
|
|
popd
|
|
|
|
mkdir -p $APP_BUNDLE/Contents/MacOS
|
|
cp -r "FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/bin/Debug/net5.0/osx-x64/"* $APP_BUNDLE/Contents/MacOS
|
|
mkdir -p $RESOURCES_BUNDLE
|
|
cp Distribution/icon.icns $RESOURCES_BUNDLE
|
|
cp Distribution/Info.plist $APP_BUNDLE/Contents/ |