From 5f52f0a4ad8c28c231553e23727a804337243a2b Mon Sep 17 00:00:00 2001 From: Pavel Shevaev Date: Fri, 20 Sep 2024 17:48:53 +0300 Subject: [PATCH] Removing Unity/mono dependency --- bhl.inc.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/bhl.inc.php b/bhl.inc.php index fe08cfd..f21d906 100644 --- a/bhl.inc.php +++ b/bhl.inc.php @@ -124,16 +124,7 @@ function bhl_dir() : string function bhl_shell(string $cmd, &$ret_var, &$ret_out) { - $prev_path = mono_try_override_path(); - - try - { - shell_try(bhl_dir()."/bhl $cmd", $ret_var, $ret_out); - } - finally - { - mono_try_restore_path($prev_path); - } + shell_try(bhl_dir()."/bhl $cmd", $ret_var, $ret_out); } function bhl_shell_ensure(string $cmd)