summarylogtreecommitdiffstats
path: root/crystallauncher
diff options
context:
space:
mode:
Diffstat (limited to 'crystallauncher')
-rw-r--r--crystallauncher13
1 files changed, 13 insertions, 0 deletions
diff --git a/crystallauncher b/crystallauncher
new file mode 100644
index 00000000000..e0364b56420
--- /dev/null
+++ b/crystallauncher
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+# fix for users of special IM modules
+unset XMODIFIERS GTK_IM_MODULE QT_IM_MODULE
+
+mkdir -p ${HOME}/.local/share/CrystalLauncher
+echo ${HOME}/.local/share/CrystalLauncher > ${HOME}/.crystalinst
+
+if [ ! -f ${HOME}/.local/share/CrystalLauncher/launcher.jar ]; then
+ touch ${HOME}/.local/share/CrystalLauncher/launcher.jar
+fi
+
+exec java -jar /usr/share/java/CrystalLauncher/launcher.jar $@ >/dev/null