summarylogtreecommitdiffstats
path: root/minecraft-launcher.sh
diff options
context:
space:
mode:
authorPhillip Schichtel2025-04-19 14:06:05 +0200
committerPhillip Schichtel2025-04-19 14:06:05 +0200
commitc6cac125f8cfc5d9a45e93b7f3ac9b01385dae23 (patch)
treeacb0aa4ef10c300b9250a826a3f6612cd9805ea4 /minecraft-launcher.sh
parent674e1fb03c96ad591e88a2ea9fdf7f3f85bb9472 (diff)
downloadaur-c6cac125f8cfc5d9a45e93b7f3ac9b01385dae23.tar.gz
add @ussur's suggested workaround
Diffstat (limited to 'minecraft-launcher.sh')
-rwxr-xr-xminecraft-launcher.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/minecraft-launcher.sh b/minecraft-launcher.sh
new file mode 100755
index 000000000000..17bebf79847a
--- /dev/null
+++ b/minecraft-launcher.sh
@@ -0,0 +1,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
+