Linux support

This commit is contained in:
wrenge 2023-07-06 21:46:00 +03:00
parent c32d6ba9ec
commit bb0d8129f1
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ function get_unity_dir()
{ {
$app_dir = get('UNITY_APP_DIR'); $app_dir = get('UNITY_APP_DIR');
if(is_win()) if(is_win() || is_linux())
return "$app_dir/Editor/Data"; return "$app_dir/Editor/Data";
else else
return "$app_dir/Unity.app/Contents/"; return "$app_dir/Unity.app/Contents/";