diff --git a/templates/default.conf b/templates/default.conf index 7dfe4bb..5f335f9 100644 --- a/templates/default.conf +++ b/templates/default.conf @@ -3,3 +3,4 @@ ELECTRON_ARGS="--no-sandbox" TRAY_ENABLED=0 DEV_TOOLS=0 VIBE_ANIMATION_MAX_FPS=25 +ALWAYS_LEAVE_TO_TRAY=0 diff --git a/templates/yandex-music.sh b/templates/yandex-music.sh index 33d26b0..fcb4e21 100644 --- a/templates/yandex-music.sh +++ b/templates/yandex-music.sh @@ -26,5 +26,6 @@ export TRAY_ENABLED=${TRAY_ENABLED:-0} export DEV_TOOLS=${DEV_TOOLS:-0} export CUSTOM_TITLE_BAR=${CUSTOM_TITLE_BAR:-0} export VIBE_ANIMATION_MAX_FPS=${VIBE_ANIMATION_MAX_FPS:-25} +export ALWAYS_LEAVE_TO_TRAY=${ALWAYS_LEAVE_TO_TRAY:-0} exec "${ELECTRON_BIN}" "%asar_path%" $ELECTRON_ARGS $WAYLAND_FLAGS