mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
[nix] Switch to asar package
Change-Id: I9ebb37518ae9db6d6c838f9445dacefa66c2935a
This commit is contained in:
parent
209cedb1ae
commit
b977be55f1
@ -18,13 +18,13 @@ let
|
||||
repack = ./../repack.sh;
|
||||
src = ymExe;
|
||||
} ''
|
||||
bash "$repack" -x -o "$out" "$src"
|
||||
bash "$repack" -o "$out" "$src"
|
||||
'';
|
||||
launcher = writeShellApplication {
|
||||
name = "yandex-music";
|
||||
runtimeInputs = [ electron ];
|
||||
text = ''
|
||||
electron ${app} "$@"
|
||||
electron ${app}/yandexmusic.asar "$@"
|
||||
'';
|
||||
};
|
||||
desktopItem = makeDesktopItem {
|
||||
@ -33,7 +33,7 @@ let
|
||||
comment = "Yandex Music - we collect music for you";
|
||||
exec = "${launcher}/bin/yandex-music";
|
||||
terminal = false;
|
||||
icon = "${app}/build/next-desktop/favicon.svg";
|
||||
icon = "${app}/favicon.svg";
|
||||
categories = [ "Audio" "Music" "Player" "AudioVideo" ];
|
||||
extraConfig = {
|
||||
"Name[ru]" = "Яндекс Музыка";
|
||||
|
Loading…
Reference in New Issue
Block a user