0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

Add do not fix quit flag

Electron is quite unoptimised technology and running YM window in
foreground requires a lot of cpu usage. So hiding window to background
is more feature, then bug =)

Change-Id: Id4e00303379004b6353a88efd7232e180f80fe6d
This commit is contained in:
Yury Shvedov
2024-01-30 21:32:35 +03:00
parent b977be55f1
commit a75f59cd80
3 changed files with 15 additions and 5 deletions

View File

@@ -10,6 +10,7 @@
, jq
, ymExe
, fixQuit ? true
}:
let
app = runCommand "yandex-music-app"
@@ -18,7 +19,7 @@ let
repack = ./../repack.sh;
src = ymExe;
} ''
bash "$repack" -o "$out" "$src"
bash "$repack" ${if !fixQuit then "-q" else ""} -o "$out" "$src"
'';
launcher = writeShellApplication {
name = "yandex-music";