set ELECTRON_OZONE_PLATFORM_HINT for Wayland support in Electron v28+

This commit is contained in:
2023-12-19 23:14:58 -05:00
parent b987814f23
commit 2653030343
+1
View File
@@ -2,6 +2,7 @@
# WAYLAND ENV
export MOZ_ENABLE_WAYLAND=1
export ELECTRON_OZONE_PLATFORM_HINT=auto
export WAYLAND_PROTOCOLS_DATADIR="/usr/share/wayland-protocols"
# XDG ENV