atualizacao scripts
This commit is contained in:
BIN
banner.png
BIN
banner.png
Binary file not shown.
|
Before Width: | Height: | Size: 136 KiB |
@@ -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
|
||||
|
||||
@@ -17,7 +17,7 @@ if (-not ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdent
|
||||
$ConfigDir = 'C:\magicis'
|
||||
$ConfigPath = Join-Path $ConfigDir 'config.json'
|
||||
$AgentBat = Join-Path $ConfigDir 'agent.bat'
|
||||
$ShellPath = 'c:\magicis\launcher.bat'
|
||||
$ShellPath = 'cmd.exe /c c:\magicis\launcher.bat'
|
||||
$KioskUser = 'magicis'
|
||||
$KioskPass = '124578Magicis'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user