banner and installer

This commit is contained in:
Ricardo Sardá
2025-12-12 16:08:50 -03:00
parent de93234ec1
commit 5c1824a85a
4 changed files with 180 additions and 1 deletions

19
launcher.bat Normal file
View File

@@ -0,0 +1,19 @@
@echo off
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...
)
echo Starting...
cd /d C:\magicis\agent
start "" "C:\magicis\agent.bat"
exit