summarylogtreecommitdiffstats
path: root/whatsapp-nativefier-wayland-hook.install
blob: fc97e245478b46ab26aa87d60133974341b2cc7f (plain)
1
2
3
4
5
6
post_install() {
	echo "Defaulting to Wayland in the current whatsapp-nativefier install"
	rm /usr/bin/whatsapp-nativefier
	echo -e "#! /bin/bash\n\n/opt/whatsapp-nativefier/WhatsApp --ozone-platform-hint=auto" > /usr/bin/whatsapp-nativefier
	chmod +x /usr/bin/whatsapp-nativefier
}