atualizacao scripts
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user