From b977be55f1f4f9e5aac6ba3a89f75607597ad18a Mon Sep 17 00:00:00 2001 From: Yury Shvedov Date: Tue, 30 Jan 2024 21:22:30 +0300 Subject: [PATCH] [nix] Switch to asar package Change-Id: I9ebb37518ae9db6d6c838f9445dacefa66c2935a --- nix/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nix/default.nix b/nix/default.nix index 97784c3..aa9927d 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -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]" = "Яндекс Музыка";