atualizacao scripts

This commit is contained in:
Ricardo Sardá
2025-12-12 17:31:43 -03:00
parent 6f56c027f8
commit 044bb69a2b
3 changed files with 2 additions and 9 deletions

View File

@@ -3,14 +3,7 @@ echo Updating tools...
cd /d C:\tools
powershell -NoProfile -Command ^
"$p = Start-Process 'git' 'pull' -PassThru -NoNewWindow; ^
if (-not $p.WaitForExit(10*1000)) { try { $p.Kill() } catch {} ; exit 1 } ^
exit $p.ExitCode"
if errorlevel 1 (
echo Git pull failed/timed out (offline?). Continuing...
)
git pull
echo Starting...
cd /d C:\magicis\agent