File wrapper.sh of Package discord
#!/usr/bin/bash # Path to Discord BINARY => /usr/lib64/discord/Discord (or /usr/bin/discord) DISCORD_BIN="$(dirname "$(readlink -f $0)")/Discord" # # Run python script to disable check updates /usr/lib64/discord/disable-breaking-updates.py # # Launch discord with Wayland support and native Wayland window decorations; Fallback to X11 if necessary exec "$DISCORD_BIN" --enable-features="WaylandWindowDecorations" --ozone-platform-hint="auto" "$@" #