summarylogtreecommitdiffstats
path: root/discord-canary-wayland-hook.install
blob: e795d7aa06850cc4b7dd9912a89b2294569f9563 (plain)
1
2
3
4
5
6
post_install() {
	echo "Defaulting to Wayland in the current discord-canary install"
	rm /usr/bin/discord-canary
	echo -e "#! /bin/sh\n\nexec /opt/discord-canary/DiscordCanary --ozone-platform-hint=auto \"\$@\"" > /usr/bin/discord-canary
	chmod +x /usr/bin/discord-canary
}