Merge pull request #106303 from con-f-use/mpv_umpv_desktop

mpv: umpv desktop file
This commit is contained in:
Anderson Torres 2020-12-10 10:04:18 -03:00 committed by GitHub
commit 4c5b28bd8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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