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

Add default electron bin path

This commit is contained in:
Andrey Onishchenko
2024-03-14 14:44:52 +03:00
parent 02f8ddac80
commit e85339f00a
4 changed files with 4 additions and 7 deletions

View File

@@ -20,9 +20,6 @@ if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
WAYLAND_FLAGS="--enable-features=UseOzonePlatform --ozone-platform=wayland"
fi
if [ -z "$ELECTRON_BIN" ]; then
echo "ELECTRON_BIN is not set"
exit 1
fi
ELECTRON_BIN=${ELECTRON_CUSTOM_BIN:-%electron_path%}
exec "${ELECTRON_BIN}" /usr/lib/yandex-music/yandex-music.asar "${ELECTRON_ARGS}" "${WAYLAND_FLAGS}"