fix(agent): normalize Windows updater paths

This commit is contained in:
vasily committed 2026-10-15 12:36:24 +08:00
1 parent b5bfb2b9c8
commit bf268f3c5a
3 files changed
+6 -5

No files matched your search

+2 -1
View File
@@ -2,6 +2,7 @@
setlocal
set "PACK=%~dp0"
if "%PACK:~-1%"=="\" set "PACK=%PACK:~0,-1%"
if "%~1"=="" (
for %%I in ("%PACK%..") do set "WORKSPACE=%%~fI"
) else (
@@ -14,7 +15,7 @@ git -C "%PACK%" pull --ff-only
if errorlevel 1 goto :pull_failed
echo [2/3] Verifying the pulled pack...
python "%PACK%scripts\manifest_tool.py" verify
python "%PACK%\scripts\manifest_tool.py" verify
if errorlevel 1 goto :source_verify_failed
if not exist "%DEST%\" (