summarylogtreecommitdiffstats
path: root/unity-editor
diff options
context:
space:
mode:
authorOscar Morante2015-09-17 21:39:53 +0300
committerOscar Morante2015-09-17 21:39:53 +0300
commit4ffe141931282f57122c25c9d89c63c2f9567635 (patch)
tree567675d6f5202dc995e61004b3a12f9df2312ae9 /unity-editor
parent09a0e2873819776da3e974f1cdcbcd6167e7eae1 (diff)
downloadaur-4ffe141931282f57122c25c9d89c63c2f9567635.tar.gz
fix WebGL builds
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 "$@"