summarylogtreecommitdiffstats
path: root/discord.sh
blob: 18a37f072cd0a68987a351e89f4ed4a27a2d7710 (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/bash

if [ ${XDG_SESSION_TYPE} = wayland ]; then
	export launchTarget="/opt/discord/Discord --disable-setuid-sandbox --no-sandbox $@ --ozone-platform=wayland"
else
	export launchTarget="/opt/discord/Discord --disable-setuid-sandbox --no-sandbox $@"
fi

_portalConfig=/usr/lib/portable/info/com.discord.app/config portable