summarylogtreecommitdiffstats
path: root/unity-editor
diff options
context:
space:
mode:
Diffstat (limited to 'unity-editor')
-rwxr-xr-xunity-editor3
1 files changed, 3 insertions, 0 deletions
diff --git a/unity-editor b/unity-editor
index 714559a08ff9..91f6136c52d8 100755
--- a/unity-editor
+++ b/unity-editor
@@ -3,4 +3,7 @@
# 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/Unity/Editor:$PATH
+
exec /opt/Unity/Editor/Unity "$@"