cfgdeploy

This commit is contained in:
2026-02-16 21:49:21 -07:00
parent 99e24f1f5e
commit ba5b73a453
3 changed files with 56 additions and 1 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