Update wayland flags

This commit is contained in:
Andrey Onishchenko
2024-09-24 01:58:07 +03:00
parent d446a98850
commit cd5f79e0e1
+1 -1
View File
@@ -17,7 +17,7 @@ source "$CONFIG_FILE"
WAYLAND_FLAGS="" WAYLAND_FLAGS=""
if [ "$XDG_SESSION_TYPE" == "wayland" ]; then if [ "$XDG_SESSION_TYPE" == "wayland" ]; then
WAYLAND_FLAGS="--enable-features=UseOzonePlatform --ozone-platform=wayland" WAYLAND_FLAGS="--ozone-platform-hint=auto --enable-features=WaylandWindowDecorations --ozone-platform=wayland"
fi fi
ELECTRON_BIN=${ELECTRON_CUSTOM_BIN:-%electron_path%} ELECTRON_BIN=${ELECTRON_CUSTOM_BIN:-%electron_path%}