refactor ConfigLoader to CfgDeploy

This commit is contained in:
Nathan
2026-02-23 09:47:26 -07:00
parent fcdb7661fe
commit 2672b7bb84
11 changed files with 398 additions and 29 deletions
+22
View File
@@ -0,0 +1,22 @@
@echo off
setlocal EnableExtensions
set "script_dir=%~dp0"
set "ps1_path=%script_dir%CfgDeploy.ps1"
if not exist "%ps1_path%" (
echo [ERROR] CfgDeploy.ps1 not found at %ps1_path%
exit /b 1
)
echo Running CfgDeploy...
powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1_path%"
set "rc=%errorlevel%"
if %rc% neq 0 (
echo.
echo Script exited with error code %rc%
pause
)
exit /b %rc%