diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6e92f57 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +tags diff --git a/unity.inc.php b/unity.inc.php index cccb919..00ff532 100644 --- a/unity.inc.php +++ b/unity.inc.php @@ -252,9 +252,9 @@ function build_mono($src_spec, $out_file, $ref_dlls = array(), $mcs_opts = "") foreach($sources as $src) { if(is_win()) - $sources_str .= '"'.normalize_path($src, !is_win()).'" '; + $sources_str .= '"'.normalize_path($src).'" '; else - $sources_str .= '\''.normalize_path($src, !is_win()).'\' '; + $sources_str .= '\''.normalize_path($src).'\' '; } $deps = $sources; @@ -300,7 +300,7 @@ function run_mono($exe_file) if(is_win()) { $unity_dir = "$app_dir/Editor/Data"; - $mono_bin = '"' . normalize_path("$unity_dir/Mono/bin/mono", !is_win()) . '"'; + $mono_bin = '"' . normalize_path("$unity_dir/Mono/bin/mono") . '"'; } else {