summarylogtreecommitdiffstats
path: root/unity-editor-lts
diff options
context:
space:
mode:
Diffstat (limited to 'unity-editor-lts')
-rwxr-xr-xunity-editor-lts10
1 files changed, 10 insertions, 0 deletions
diff --git a/unity-editor-lts b/unity-editor-lts
new file mode 100755
index 000000000000..9ca0ae0df056
--- /dev/null
+++ b/unity-editor-lts
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+# This prevents the editor from crashing when opening projects in some systems
+unset GTK_IM_MODULE
+
+# HACK: fixes WebGL builds by adding a symlink (python -> python2) to the PATH
+export PATH=/opt/UnityLts/Editor:$PATH
+
+mkdir -p ~/.local/share/unity3d/Packages
+exec /opt/UnityLts/Editor/Unity -no-throttle-updates "$@"