fix updateseq batch run behavior

This commit is contained in:
Nathan
2025-11-10 15:47:05 -07:00
parent a506c09a49
commit 169b4f656d
4 changed files with 302 additions and 9 deletions

View File

@@ -2,7 +2,7 @@
setlocal EnableExtensions
set "script_dir=%~dp0"
for %%I in ("%script_dir%..") do set "PROJ_ROOT=%%~fI"
for %%I in ("%script_dir%..\..") do set "PROJ_ROOT=%%~fI"
set "CONFIG_DIR=%PROJ_ROOT%\.config"
set "CONFIG_PATH=%CONFIG_DIR%\config.json"
@@ -10,13 +10,13 @@ set "GET_STRUCT_DIR=%CONFIG_DIR%\GetStructDir.ps1"
if not exist "%CONFIG_PATH%" (
echo [ERROR] config.json not found at %CONFIG_PATH%
echo Please run UpdateProjectBatches.ps1 to refresh helper files.
echo Please run ConfigLoader.ps1 to deploy helper files.
exit /b 1
)
if not exist "%GET_STRUCT_DIR%" (
echo [ERROR] GetStructDir.ps1 not found at %GET_STRUCT_DIR%
echo Please run UpdateProjectBatches.ps1 to refresh helper files.
echo Please run ConfigLoader.ps1 to deploy helper files.
exit /b 1
)