mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-24 14:34:39 +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;
|
repack = ./../repack.sh;
|
||||||
src = ymExe;
|
src = ymExe;
|
||||||
} ''
|
} ''
|
||||||
bash "$repack" -x -o "$out" "$src"
|
bash "$repack" -o "$out" "$src"
|
||||||
'';
|
'';
|
||||||
launcher = writeShellApplication {
|
launcher = writeShellApplication {
|
||||||
name = "yandex-music";
|
name = "yandex-music";
|
||||||
runtimeInputs = [ electron ];
|
runtimeInputs = [ electron ];
|
||||||
text = ''
|
text = ''
|
||||||
electron ${app} "$@"
|
electron ${app}/yandexmusic.asar "$@"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
desktopItem = makeDesktopItem {
|
desktopItem = makeDesktopItem {
|
||||||
@ -33,7 +33,7 @@ let
|
|||||||
comment = "Yandex Music - we collect music for you";
|
comment = "Yandex Music - we collect music for you";
|
||||||
exec = "${launcher}/bin/yandex-music";
|
exec = "${launcher}/bin/yandex-music";
|
||||||
terminal = false;
|
terminal = false;
|
||||||
icon = "${app}/build/next-desktop/favicon.svg";
|
icon = "${app}/favicon.svg";
|
||||||
categories = [ "Audio" "Music" "Player" "AudioVideo" ];
|
categories = [ "Audio" "Music" "Player" "AudioVideo" ];
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
"Name[ru]" = "Яндекс Музыка";
|
"Name[ru]" = "Яндекс Музыка";
|
||||||
|
Loading…
Reference in New Issue
Block a user