publish start-all.ps1

This commit is contained in:
brockdarnold 2026-06-14 07:29:56 +00:00
parent e54534d92b
commit 21a006e5b9

View file

@ -1,5 +1,5 @@
<# <#
start-all.ps1 launch all local Goliath watchers at once (background, no windows). start-all.ps1 - launch all local Goliath watchers at once (background, no windows).
Run from this folder: powershell -ExecutionPolicy Bypass -File .\start-all.ps1 Run from this folder: powershell -ExecutionPolicy Bypass -File .\start-all.ps1
Needs setup.ps1 to have installed Python + deps, and config.ini filled in Needs setup.ps1 to have installed Python + deps, and config.ini filled in
(ntfy topic and/or [discord] webhook so alerts reach you). (ntfy topic and/or [discord] webhook so alerts reach you).
@ -10,7 +10,7 @@ Set-Location $here
if (Get-Command python -ErrorAction SilentlyContinue) { if (Get-Command python -ErrorAction SilentlyContinue) {
python -m pip install --quiet -r (Join-Path $here "requirements.txt") 2>$null python -m pip install --quiet -r (Join-Path $here "requirements.txt") 2>$null
} else { } else {
Write-Warning "Python not found run setup.ps1 first."; exit 1 Write-Warning "Python not found - run setup.ps1 first."; exit 1
} }
# Headless intel watchers (run continuously, no interaction needed) # Headless intel watchers (run continuously, no interaction needed)
@ -26,7 +26,7 @@ if ($cfg -match "mode\s*=\s*ocr") {
Start-Process pythonw -ArgumentList "`"$here\eve_orehold_watcher.py`"" -WorkingDirectory $here -WindowStyle Hidden Start-Process pythonw -ArgumentList "`"$here\eve_orehold_watcher.py`"" -WorkingDirectory $here -WindowStyle Hidden
Write-Host "started eve_orehold_watcher.py (OCR mode)" Write-Host "started eve_orehold_watcher.py (OCR mode)"
} else { } else {
Write-Host "ore-hold watcher NOT started (timer mode is interactive run it in its own window, or set mode=ocr + --snip)." Write-Host "ore-hold watcher NOT started (timer mode is interactive - run it in its own window, or set mode=ocr + --snip)."
} }
Write-Host "" Write-Host ""