script recognize submodules

This commit is contained in:
Nathan
2026-02-06 16:25:33 -07:00
parent feb8f0e0c7
commit f009c026b4
3 changed files with 843 additions and 11634 deletions
+8 -1
View File
@@ -55,9 +55,16 @@ if not defined ps1 (
exit /b 1
)
echo Running PowerShell update script...
REM Run from batch directory (sequences next to batch, or submodule root)
set "WORK_DIR=%script_dir%"
if "%WORK_DIR:~-1%"=="\" set "WORK_DIR=%WORK_DIR:~0,-1%"
pushd "%WORK_DIR%" >nul 2>&1
echo Running PowerShell update script in %WORK_DIR%...
powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%"
set "rc=%errorlevel%"
popd >nul 2>&1
echo PowerShell exited with RC=%rc%
echo Done.
pause >nul