mpv: umpv desktop file

This commit is contained in:
con-f-use 2020-12-08 01:30:12 +01:00
parent f0c414d510
commit 1596ce4859

View File

@ -196,6 +196,8 @@ in stdenv.mkDerivation rec {
cp TOOLS/mpv_identify.sh $out/bin
cp TOOLS/umpv $out/bin
cp $out/share/applications/mpv.desktop $out/share/applications/umpv.desktop
sed -i '/Icon=/ ! s/mpv/umpv/g' $out/share/applications/umpv.desktop
'' + optionalString stdenv.isDarwin ''
mkdir -p $out/Applications
cp -r build/mpv.app $out/Applications