We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14e3eb2 commit c14f90dCopy full SHA for c14f90d
snap/local/launcher.sh
@@ -1,2 +1,7 @@
1
#!/bin/sh
2
-exec "$SNAP/opt/Mattermost/mattermost-desktop" --no-sandbox --disable-seccomp-filter-sandbox --disable-features=GlobalShortcutsPortal "$@"
+
3
+if [ -n "$WAYLAND_DISPLAY" ] && [ -z "$DISABLE_WAYLAND" ]; then
4
+ WAYLAND_OPTS="--enable-features=UseOzonePlatform --ozone-platform-hint=auto"
5
+fi
6
7
+exec "$SNAP/opt/Mattermost/mattermost-desktop" --no-sandbox --disable-seccomp-filter-sandbox --disable-features=GlobalShortcutsPortal "${WAYLAND_OPTS:-}" "$@"
0 commit comments