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:
@@ -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";
|
||||
|
Reference in New Issue
Block a user