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

Fix #144, refactoring

This commit is contained in:
Nikolay Bely
2025-03-07 07:33:11 +07:00
parent 4c1f2abc27
commit bf1656834f
5 changed files with 35 additions and 40 deletions

View File

@@ -1,6 +1,7 @@
ELECTRON_CUSTOM_BIN=
ELECTRON_ARGS="--no-sandbox"
TRAY_ENABLED=0
DEV_TOOLS=0
VIBE_ANIMATION_MAX_FPS=25
ALWAYS_LEAVE_TO_TRAY=0
DEV_TOOLS=0
CUSTOM_TITLE_BAR=0
VIBE_ANIMATION_MAX_FPS=25

View File

@@ -23,9 +23,9 @@ fi
ELECTRON_BIN=${ELECTRON_CUSTOM_BIN:-%electron_path%}
export TRAY_ENABLED=${TRAY_ENABLED:-0}
export ALWAYS_LEAVE_TO_TRAY=${ALWAYS_LEAVE_TO_TRAY:-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