From bb0d8129f1b7b3e1056bcfc2afc1b51b8af84e79 Mon Sep 17 00:00:00 2001 From: wrenge Date: Thu, 6 Jul 2023 21:46:00 +0300 Subject: [PATCH] Linux support --- unity.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unity.inc.php b/unity.inc.php index ac1c88d..b542044 100644 --- a/unity.inc.php +++ b/unity.inc.php @@ -166,7 +166,7 @@ function get_unity_dir() { $app_dir = get('UNITY_APP_DIR'); - if(is_win()) + if(is_win() || is_linux()) return "$app_dir/Editor/Data"; else return "$app_dir/Unity.app/Contents/";