summarylogtreecommitdiffstats
path: root/unity-editor-beta
blob: 34c58d7265ffaf0f8e4a059f91d7a201c2c1b6e9 (plain)
1
2
3
4
5
6
7
8
9
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/UnityBeta/Editor:$PATH

mkdir -p ~/.local/share/unity3d/Packages
exec /opt/UnityBeta/Editor/Unity "$@"