Migrating to UNITY_ASSETS_DIR prop

This commit is contained in:
Pavel Shevaev 2022-05-18 15:01:57 +03:00
parent a27b01688e
commit 69ec9dd640
1 changed files with 2 additions and 3 deletions

View File

@ -30,8 +30,7 @@ task('config_worker', function(array $args)
function config_base_dir() function config_base_dir()
{ {
global $GAME_ROOT; return get("UNITY_ASSETS_DIR") . "/Configs";
return "$GAME_ROOT/unity/Assets/Configs/";
} }
function config_build_dir() function config_build_dir()
@ -169,7 +168,7 @@ function config_sync_build_dir_with_prod()
$build_ext_dir = config_get_build_ext_dir(); $build_ext_dir = config_get_build_ext_dir();
ensure_mkdir($build_ext_dir); ensure_mkdir($build_ext_dir);
ensure_sync($build_ext_dir, "$GAME_ROOT/unity/Assets/Resources/ext_config/"); ensure_sync($build_ext_dir, get("UNITY_ASSETS_DIR")."/Resources/ext_config/");
} }
function config_make_standalone_ext_bundle(array $configs, $file_path) function config_make_standalone_ext_bundle(array $configs, $file_path)