summarylogtreecommitdiffstats
path: root/heroic-games-launcher-bin-wayland
blob: 6ad75b4dc072e6451cc92624b6753b206069a6e9 (plain)
1
2
3
4
5
6
7
#!/bin/bash

rm /usr/bin/heroic
echo -e "#! /bin/bash\n\n/opt/Heroic/heroic --ozone-platform-hint=auto" > /usr/bin/heroic
sed -E "s|/opt/Heroic/heroic|/opt/Heroic/heroic --ozone-platform-hint=auto|" -i /usr/share/applications/heroic.desktop
chmod +x /usr/bin/heroic