diff --git a/snap/local/bin/launcher b/snap/local/bin/launcher index 384cf42..dc501ba 100755 --- a/snap/local/bin/launcher +++ b/snap/local/bin/launcher @@ -1,7 +1,3 @@ #!/bin/bash -if [[ ! -n "$DISABLE_WAYLAND" && -n "$WAYLAND_DISPLAY" ]]; then - WAYLAND_OPTS="--enable-features=WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform-hint=auto" -fi - -exec "$SNAP/usr/share/discord/Discord" --use-tray-icon --no-sandbox --disable-seccomp-filter-sandbox $WAYLAND_OPTS "$@" +exec "$SNAP/usr/share/discord/Discord" --use-tray-icon --no-sandbox --disable-seccomp-filter-sandbox "$@" diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3ba1938..aecad84 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -73,7 +73,6 @@ apps: # Correct the TMPDIR path for Chromium Framework/Electron to # ensure libappindicator has readable resources TMPDIR: $XDG_RUNTIME_DIR - DISABLE_WAYLAND: 1 # Included temporarily until https://github.com/snapcore/snapcraft-desktop-integration/issues/28 # is resolved. NOTIFY_IGNORE_PORTAL: 1