mirror of
https://github.com/Royce551/FRESHMusicPlayer.git
synced 2025-01-23 03:11:49 -05:00
19 lines
501 B
Bash
19 lines
501 B
Bash
|
#!/bin/bash
|
||
|
cd ..
|
||
|
|
||
|
APPDIR=$"FRESHMusicPlayer.AppDir"
|
||
|
|
||
|
rm -rf $APPDIR || true
|
||
|
|
||
|
|
||
|
pushd FRESHMusicPlayer/FRESHMusicPlayer-Avalonia
|
||
|
dotnet publish FRESHMusicPlayer-Avalonia.csproj -c Release -r linux-x64
|
||
|
popd
|
||
|
|
||
|
mkdir -p $APPDIR
|
||
|
cp -r "FRESHMusicPlayer/FRESHMusicPlayer-Avalonia/bin/Release/net5.0/linux-x64/publish/"* $APPDIR
|
||
|
cp Distribution/io.github.royce551.FRESHMusicPlayer.desktop $APPDIR
|
||
|
cp Distribution/logo.svg $APPDIR/io.github.royce551.FRESHMusicPlayer.svg
|
||
|
|
||
|
ln -s FRESHMusicPlayer $APPDIR/AppRun
|