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

Binary file not shown.

Before

Width:  |  Height:  |  Size: 136 KiB

View File

@@ -3,14 +3,7 @@ echo Updating tools...
cd /d C:\tools cd /d C:\tools
powershell -NoProfile -Command ^ git pull
"$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... echo Starting...
cd /d C:\magicis\agent cd /d C:\magicis\agent

View File

@@ -17,7 +17,7 @@ if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdent
$ConfigDir = 'C:\magicis' $ConfigDir = 'C:\magicis'
$ConfigPath = Join-Path $ConfigDir 'config.json' $ConfigPath = Join-Path $ConfigDir 'config.json'
$AgentBat = Join-Path $ConfigDir 'agent.bat' $AgentBat = Join-Path $ConfigDir 'agent.bat'
$ShellPath = 'c:\magicis\launcher.bat' $ShellPath = 'cmd.exe /c c:\magicis\launcher.bat'
$KioskUser = 'magicis' $KioskUser = 'magicis'
$KioskPass = '124578Magicis' $KioskPass = '124578Magicis'