mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 14:12:59 +03:00
Update executable for wayland
This commit is contained in:
parent
d06595d8a2
commit
4d8753bf03
@ -17,12 +17,13 @@ source "$CONFIG_FILE"
|
|||||||
|
|
||||||
WAYLAND_FLAGS=""
|
WAYLAND_FLAGS=""
|
||||||
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
|
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
|
||||||
WAYLAND_FLAGS="--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --ozone-platform=wayland"
|
WAYLAND_FLAGS="--ozone-platform=wayland"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ELECTRON_BIN=${ELECTRON_CUSTOM_BIN:-%electron_path%}
|
ELECTRON_BIN=${ELECTRON_CUSTOM_BIN:-%electron_path%}
|
||||||
|
|
||||||
export TRAY_ENABLED=${TRAY_ENABLED:-0}
|
export TRAY_ENABLED=${TRAY_ENABLED:-0}
|
||||||
export DEV_TOOLS=${DEV_TOOLS:-0}
|
export DEV_TOOLS=${DEV_TOOLS:-0}
|
||||||
|
export CUSTOM_TITLE_BAR=${CUSTOM_TITLE_BAR:-0}
|
||||||
|
|
||||||
exec "${ELECTRON_BIN}" "%asar_path%" $ELECTRON_ARGS $WAYLAND_FLAGS
|
exec "${ELECTRON_BIN}" "%asar_path%" $ELECTRON_ARGS $WAYLAND_FLAGS
|
||||||
|
Loading…
Reference in New Issue
Block a user