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