0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-24 14:34:39 +03:00

Merge pull request #53 from ein-shved/master

[nix] Make installation prettier
This commit is contained in:
Andrey Onishchenko 2024-02-21 08:19:29 +03:00 committed by GitHub
commit a55100936b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,13 +56,11 @@ stdenvNoCC.mkDerivation
makeWrapper "${electron}/bin/electron" "$out/bin/yandex-music" \ makeWrapper "${electron}/bin/electron" "$out/bin/yandex-music" \
--add-flags "$out/share/nodejs/yandex-music.asar" --add-flags "$out/share/nodejs/yandex-music.asar"
mkdir -p "$out/share/pixmaps" install -Dm644 "./app/favicon.png" "$out/share/pixmaps/yandex-music.png"
mkdir -p "$out/share/icons/hicolor/48x48/apps/" install -Dm644 "./app/favicon.png" "$out/share/icons/hicolor/48x48/apps/yandex-music.png"
cp ./app/favicon.png "$out/share/icons/hicolor/48x48/apps/yandex-music.png" install -Dm644 "./app/favicon.svg" "$out/share/icons/hicolor/scalable/apps/yandex-music.svg"
ln -s ../icons/hicolor/48x48/apps/yandex-music.png "$out/share/pixmaps"
mkdir -p $out/share/applications install -Dm644 "$desktopItem" "$out/share/applications/yandex-music.desktop"
cp $desktopItem $out/share/applications/yandex-music.desktop
''; '';
meta = { meta = {