deploy config
This commit is contained in:
16
Renders/0_GaslightRender/NewDaily.bat
Normal file
16
Renders/0_GaslightRender/NewDaily.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Get current date in YYYY-MM-DD format
|
||||
for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (
|
||||
set mm=%%a
|
||||
set dd=%%b
|
||||
set yy=%%c
|
||||
)
|
||||
set yyyy=20%yy:~-2%
|
||||
|
||||
:: Create daily folder
|
||||
mkdir "%yyyy%-%mm%-%dd%"
|
||||
echo Daily folder created: %yyyy%-%mm%-%dd%
|
||||
|
||||
pause
|
||||
37
Renders/0_GaslightRender/UpdateSequences.bat
Normal file
37
Renders/0_GaslightRender/UpdateSequences.bat
Normal file
@@ -0,0 +1,37 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
|
||||
set "script_dir=%~dp0"
|
||||
for %%I in ("%script_dir%..\..") do set "PROJ_ROOT=%%~fI"
|
||||
|
||||
set "CONFIG_DIR=%PROJ_ROOT%\.config"
|
||||
set "CONFIG_PATH=%CONFIG_DIR%\config.json"
|
||||
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 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 ConfigLoader.ps1 to deploy helper files.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
for /f "usebackq delims=" %%I in (`powershell -NoProfile -ExecutionPolicy Bypass -Command ^
|
||||
"Set-StrictMode -Version Latest; $structDir = & '%GET_STRUCT_DIR%' -ProjectRoot '%PROJ_ROOT%'; if (-not $structDir) { throw \"Failed to get structDir from GetStructDir.ps1\" }; $ps1Path = Join-Path $structDir 'UpdateSequences.ps1'; if (-not (Test-Path -LiteralPath $ps1Path)) { throw \"UpdateSequences.ps1 not found at $ps1Path\" }; Write-Output $ps1Path"`) do set "ps1=%%I"
|
||||
|
||||
if not defined ps1 (
|
||||
echo [ERROR] Unable to resolve UpdateSequences.ps1 path from config.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Running PowerShell update script...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%"
|
||||
set "rc=%errorlevel%"
|
||||
echo PowerShell exited with RC=%rc%
|
||||
echo Done.
|
||||
pause >nul
|
||||
exit /b %rc%
|
||||
16
Renders/1_PonderingOrb/NewDaily.bat
Normal file
16
Renders/1_PonderingOrb/NewDaily.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Get current date in YYYY-MM-DD format
|
||||
for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (
|
||||
set mm=%%a
|
||||
set dd=%%b
|
||||
set yy=%%c
|
||||
)
|
||||
set yyyy=20%yy:~-2%
|
||||
|
||||
:: Create daily folder
|
||||
mkdir "%yyyy%-%mm%-%dd%"
|
||||
echo Daily folder created: %yyyy%-%mm%-%dd%
|
||||
|
||||
pause
|
||||
37
Renders/1_PonderingOrb/UpdateSequences.bat
Normal file
37
Renders/1_PonderingOrb/UpdateSequences.bat
Normal file
@@ -0,0 +1,37 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
|
||||
set "script_dir=%~dp0"
|
||||
for %%I in ("%script_dir%..\..") do set "PROJ_ROOT=%%~fI"
|
||||
|
||||
set "CONFIG_DIR=%PROJ_ROOT%\.config"
|
||||
set "CONFIG_PATH=%CONFIG_DIR%\config.json"
|
||||
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 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 ConfigLoader.ps1 to deploy helper files.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
for /f "usebackq delims=" %%I in (`powershell -NoProfile -ExecutionPolicy Bypass -Command ^
|
||||
"Set-StrictMode -Version Latest; $structDir = & '%GET_STRUCT_DIR%' -ProjectRoot '%PROJ_ROOT%'; if (-not $structDir) { throw \"Failed to get structDir from GetStructDir.ps1\" }; $ps1Path = Join-Path $structDir 'UpdateSequences.ps1'; if (-not (Test-Path -LiteralPath $ps1Path)) { throw \"UpdateSequences.ps1 not found at $ps1Path\" }; Write-Output $ps1Path"`) do set "ps1=%%I"
|
||||
|
||||
if not defined ps1 (
|
||||
echo [ERROR] Unable to resolve UpdateSequences.ps1 path from config.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Running PowerShell update script...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%"
|
||||
set "rc=%errorlevel%"
|
||||
echo PowerShell exited with RC=%rc%
|
||||
echo Done.
|
||||
pause >nul
|
||||
exit /b %rc%
|
||||
16
Renders/2_rendertest/NewDaily.bat
Normal file
16
Renders/2_rendertest/NewDaily.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Get current date in YYYY-MM-DD format
|
||||
for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (
|
||||
set mm=%%a
|
||||
set dd=%%b
|
||||
set yy=%%c
|
||||
)
|
||||
set yyyy=20%yy:~-2%
|
||||
|
||||
:: Create daily folder
|
||||
mkdir "%yyyy%-%mm%-%dd%"
|
||||
echo Daily folder created: %yyyy%-%mm%-%dd%
|
||||
|
||||
pause
|
||||
37
Renders/2_rendertest/UpdateSequences.bat
Normal file
37
Renders/2_rendertest/UpdateSequences.bat
Normal file
@@ -0,0 +1,37 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
|
||||
set "script_dir=%~dp0"
|
||||
for %%I in ("%script_dir%..\..") do set "PROJ_ROOT=%%~fI"
|
||||
|
||||
set "CONFIG_DIR=%PROJ_ROOT%\.config"
|
||||
set "CONFIG_PATH=%CONFIG_DIR%\config.json"
|
||||
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 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 ConfigLoader.ps1 to deploy helper files.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
for /f "usebackq delims=" %%I in (`powershell -NoProfile -ExecutionPolicy Bypass -Command ^
|
||||
"Set-StrictMode -Version Latest; $structDir = & '%GET_STRUCT_DIR%' -ProjectRoot '%PROJ_ROOT%'; if (-not $structDir) { throw \"Failed to get structDir from GetStructDir.ps1\" }; $ps1Path = Join-Path $structDir 'UpdateSequences.ps1'; if (-not (Test-Path -LiteralPath $ps1Path)) { throw \"UpdateSequences.ps1 not found at $ps1Path\" }; Write-Output $ps1Path"`) do set "ps1=%%I"
|
||||
|
||||
if not defined ps1 (
|
||||
echo [ERROR] Unable to resolve UpdateSequences.ps1 path from config.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Running PowerShell update script...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%"
|
||||
set "rc=%errorlevel%"
|
||||
echo PowerShell exited with RC=%rc%
|
||||
echo Done.
|
||||
pause >nul
|
||||
exit /b %rc%
|
||||
16
Renders/3_background/NewDaily.bat
Normal file
16
Renders/3_background/NewDaily.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Get current date in YYYY-MM-DD format
|
||||
for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (
|
||||
set mm=%%a
|
||||
set dd=%%b
|
||||
set yy=%%c
|
||||
)
|
||||
set yyyy=20%yy:~-2%
|
||||
|
||||
:: Create daily folder
|
||||
mkdir "%yyyy%-%mm%-%dd%"
|
||||
echo Daily folder created: %yyyy%-%mm%-%dd%
|
||||
|
||||
pause
|
||||
37
Renders/3_background/UpdateSequences.bat
Normal file
37
Renders/3_background/UpdateSequences.bat
Normal file
@@ -0,0 +1,37 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
|
||||
set "script_dir=%~dp0"
|
||||
for %%I in ("%script_dir%..\..") do set "PROJ_ROOT=%%~fI"
|
||||
|
||||
set "CONFIG_DIR=%PROJ_ROOT%\.config"
|
||||
set "CONFIG_PATH=%CONFIG_DIR%\config.json"
|
||||
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 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 ConfigLoader.ps1 to deploy helper files.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
for /f "usebackq delims=" %%I in (`powershell -NoProfile -ExecutionPolicy Bypass -Command ^
|
||||
"Set-StrictMode -Version Latest; $structDir = & '%GET_STRUCT_DIR%' -ProjectRoot '%PROJ_ROOT%'; if (-not $structDir) { throw \"Failed to get structDir from GetStructDir.ps1\" }; $ps1Path = Join-Path $structDir 'UpdateSequences.ps1'; if (-not (Test-Path -LiteralPath $ps1Path)) { throw \"UpdateSequences.ps1 not found at $ps1Path\" }; Write-Output $ps1Path"`) do set "ps1=%%I"
|
||||
|
||||
if not defined ps1 (
|
||||
echo [ERROR] Unable to resolve UpdateSequences.ps1 path from config.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Running PowerShell update script...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%"
|
||||
set "rc=%errorlevel%"
|
||||
echo PowerShell exited with RC=%rc%
|
||||
echo Done.
|
||||
pause >nul
|
||||
exit /b %rc%
|
||||
4182
Renders/3_background/_CURRENT/_UpdateSequences.log
Normal file
4182
Renders/3_background/_CURRENT/_UpdateSequences.log
Normal file
File diff suppressed because it is too large
Load Diff
16
Renders/4_StartupScreen/NewDaily.bat
Normal file
16
Renders/4_StartupScreen/NewDaily.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Get current date in YYYY-MM-DD format
|
||||
for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (
|
||||
set mm=%%a
|
||||
set dd=%%b
|
||||
set yy=%%c
|
||||
)
|
||||
set yyyy=20%yy:~-2%
|
||||
|
||||
:: Create daily folder
|
||||
mkdir "%yyyy%-%mm%-%dd%"
|
||||
echo Daily folder created: %yyyy%-%mm%-%dd%
|
||||
|
||||
pause
|
||||
37
Renders/4_StartupScreen/UpdateSequences.bat
Normal file
37
Renders/4_StartupScreen/UpdateSequences.bat
Normal file
@@ -0,0 +1,37 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
|
||||
set "script_dir=%~dp0"
|
||||
for %%I in ("%script_dir%..\..") do set "PROJ_ROOT=%%~fI"
|
||||
|
||||
set "CONFIG_DIR=%PROJ_ROOT%\.config"
|
||||
set "CONFIG_PATH=%CONFIG_DIR%\config.json"
|
||||
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 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 ConfigLoader.ps1 to deploy helper files.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
for /f "usebackq delims=" %%I in (`powershell -NoProfile -ExecutionPolicy Bypass -Command ^
|
||||
"Set-StrictMode -Version Latest; $structDir = & '%GET_STRUCT_DIR%' -ProjectRoot '%PROJ_ROOT%'; if (-not $structDir) { throw \"Failed to get structDir from GetStructDir.ps1\" }; $ps1Path = Join-Path $structDir 'UpdateSequences.ps1'; if (-not (Test-Path -LiteralPath $ps1Path)) { throw \"UpdateSequences.ps1 not found at $ps1Path\" }; Write-Output $ps1Path"`) do set "ps1=%%I"
|
||||
|
||||
if not defined ps1 (
|
||||
echo [ERROR] Unable to resolve UpdateSequences.ps1 path from config.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Running PowerShell update script...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%"
|
||||
set "rc=%errorlevel%"
|
||||
echo PowerShell exited with RC=%rc%
|
||||
echo Done.
|
||||
pause >nul
|
||||
exit /b %rc%
|
||||
34989
Renders/4_StartupScreen/_CURRENT/_UpdateSequences.log
Normal file
34989
Renders/4_StartupScreen/_CURRENT/_UpdateSequences.log
Normal file
File diff suppressed because it is too large
Load Diff
16
Renders/5_goodbye/NewDaily.bat
Normal file
16
Renders/5_goodbye/NewDaily.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Get current date in YYYY-MM-DD format
|
||||
for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (
|
||||
set mm=%%a
|
||||
set dd=%%b
|
||||
set yy=%%c
|
||||
)
|
||||
set yyyy=20%yy:~-2%
|
||||
|
||||
:: Create daily folder
|
||||
mkdir "%yyyy%-%mm%-%dd%"
|
||||
echo Daily folder created: %yyyy%-%mm%-%dd%
|
||||
|
||||
pause
|
||||
37
Renders/5_goodbye/UpdateSequences.bat
Normal file
37
Renders/5_goodbye/UpdateSequences.bat
Normal file
@@ -0,0 +1,37 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
|
||||
set "script_dir=%~dp0"
|
||||
for %%I in ("%script_dir%..\..") do set "PROJ_ROOT=%%~fI"
|
||||
|
||||
set "CONFIG_DIR=%PROJ_ROOT%\.config"
|
||||
set "CONFIG_PATH=%CONFIG_DIR%\config.json"
|
||||
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 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 ConfigLoader.ps1 to deploy helper files.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
for /f "usebackq delims=" %%I in (`powershell -NoProfile -ExecutionPolicy Bypass -Command ^
|
||||
"Set-StrictMode -Version Latest; $structDir = & '%GET_STRUCT_DIR%' -ProjectRoot '%PROJ_ROOT%'; if (-not $structDir) { throw \"Failed to get structDir from GetStructDir.ps1\" }; $ps1Path = Join-Path $structDir 'UpdateSequences.ps1'; if (-not (Test-Path -LiteralPath $ps1Path)) { throw \"UpdateSequences.ps1 not found at $ps1Path\" }; Write-Output $ps1Path"`) do set "ps1=%%I"
|
||||
|
||||
if not defined ps1 (
|
||||
echo [ERROR] Unable to resolve UpdateSequences.ps1 path from config.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Running PowerShell update script...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%"
|
||||
set "rc=%errorlevel%"
|
||||
echo PowerShell exited with RC=%rc%
|
||||
echo Done.
|
||||
pause >nul
|
||||
exit /b %rc%
|
||||
16
Renders/NewDaily.bat
Normal file
16
Renders/NewDaily.bat
Normal file
@@ -0,0 +1,16 @@
|
||||
@echo off
|
||||
setlocal
|
||||
|
||||
:: Get current date in YYYY-MM-DD format
|
||||
for /f "tokens=2-4 delims=/ " %%a in ('date /t') do (
|
||||
set mm=%%a
|
||||
set dd=%%b
|
||||
set yy=%%c
|
||||
)
|
||||
set yyyy=20%yy:~-2%
|
||||
|
||||
:: Create daily folder
|
||||
mkdir "%yyyy%-%mm%-%dd%"
|
||||
echo Daily folder created: %yyyy%-%mm%-%dd%
|
||||
|
||||
pause
|
||||
58
Renders/UpdateAllSequences.bat
Normal file
58
Renders/UpdateAllSequences.bat
Normal file
@@ -0,0 +1,58 @@
|
||||
@echo off
|
||||
setlocal enabledelayedexpansion
|
||||
echo UpdateAllSequences - Running all UpdateSequences.bat files in submodule folders...
|
||||
echo.
|
||||
|
||||
echo Searching for submodule folders and UpdateSequences.bat files...
|
||||
echo.
|
||||
|
||||
REM Find all submodule folders and check for UpdateSequences.bat
|
||||
set /a count=0
|
||||
set /a found=0
|
||||
|
||||
echo Found the following submodule folders with UpdateSequences.bat:
|
||||
for /d %%S in (*) do (
|
||||
if exist "%%S\UpdateSequences.bat" (
|
||||
echo - %%S
|
||||
set /a found+=1
|
||||
)
|
||||
)
|
||||
|
||||
if !found!==0 (
|
||||
echo No submodule folders with UpdateSequences.bat found!
|
||||
echo.
|
||||
echo Note: This script looks for UpdateSequences.bat files in immediate subdirectories.
|
||||
echo Make sure you're running this from the project root where submodules are located.
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Found !found! submodule folders with UpdateSequences.bat files.
|
||||
echo.
|
||||
echo Starting execution...
|
||||
echo.
|
||||
|
||||
REM Execute each UpdateSequences.bat found in submodule folders
|
||||
for /d %%S in (*) do (
|
||||
if exist "%%S\UpdateSequences.bat" (
|
||||
set /a count+=1
|
||||
echo [!count!/!found!] Running UpdateSequences.bat in %%S...
|
||||
pushd "%%S"
|
||||
call "UpdateSequences.bat" < NUL
|
||||
set "rc=!errorlevel!"
|
||||
popd
|
||||
if !rc!==0 (
|
||||
echo Completed: %%S (SUCCESS)
|
||||
) else (
|
||||
echo Completed: %%S (FAILED - RC=!rc!)
|
||||
)
|
||||
echo.
|
||||
)
|
||||
)
|
||||
|
||||
echo.
|
||||
echo Operation completed. Successfully executed !count! UpdateSequences.bat files.
|
||||
echo.
|
||||
echo Note: Check individual _CURRENT\_UpdateSequences.log files in each submodule for details.
|
||||
pause
|
||||
37
Renders/UpdateSequences.bat
Normal file
37
Renders/UpdateSequences.bat
Normal file
@@ -0,0 +1,37 @@
|
||||
@echo off
|
||||
setlocal EnableExtensions
|
||||
|
||||
set "script_dir=%~dp0"
|
||||
for %%I in ("%script_dir%..\..") do set "PROJ_ROOT=%%~fI"
|
||||
|
||||
set "CONFIG_DIR=%PROJ_ROOT%\.config"
|
||||
set "CONFIG_PATH=%CONFIG_DIR%\config.json"
|
||||
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 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 ConfigLoader.ps1 to deploy helper files.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
for /f "usebackq delims=" %%I in (`powershell -NoProfile -ExecutionPolicy Bypass -Command ^
|
||||
"Set-StrictMode -Version Latest; $structDir = & '%GET_STRUCT_DIR%' -ProjectRoot '%PROJ_ROOT%'; if (-not $structDir) { throw \"Failed to get structDir from GetStructDir.ps1\" }; $ps1Path = Join-Path $structDir 'UpdateSequences.ps1'; if (-not (Test-Path -LiteralPath $ps1Path)) { throw \"UpdateSequences.ps1 not found at $ps1Path\" }; Write-Output $ps1Path"`) do set "ps1=%%I"
|
||||
|
||||
if not defined ps1 (
|
||||
echo [ERROR] Unable to resolve UpdateSequences.ps1 path from config.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo Running PowerShell update script...
|
||||
powershell -NoProfile -ExecutionPolicy Bypass -File "%ps1%"
|
||||
set "rc=%errorlevel%"
|
||||
echo PowerShell exited with RC=%rc%
|
||||
echo Done.
|
||||
pause >nul
|
||||
exit /b %rc%
|
||||
Reference in New Issue
Block a user