summarylogtreecommitdiffstats
path: root/minecraft-launcher.sh
blob: 17bebf79847a6b39821c3add631c68654beab887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env sh

# This is a workaround for [1] as suggested by [2]:
# [1]: https://report.bugs.mojang.com/servicedesk/customer/portal/7/MCL-25003 and https://bugs.kde.org/show_bug.cgi?id=501866
# [2]: https://aur.archlinux.org/packages/minecraft-launcher#comment-1020377
cef_version_file="$HOME/.minecraft/webcache2/CEF_VERSION"
if [ -e "$cef_version_file" ]
then
    rm "$cef_version_file"
fi

exec minecraft-launcher