publish start-all.ps1

This commit is contained in:
brockdarnold 2026-06-15 02:39:05 +00:00
parent d03ddd0ea6
commit 1d132ed2a0

View file

@ -17,20 +17,14 @@ if (Get-Command python -ErrorAction SilentlyContinue) {
# NOTE: eve_local_watcher disabled — on a multi-monitor desktop its OCR region reads
# chat fragments and false-flags pilots not in system. danger_watch (zKill by system)
# covers real kills/killers reliably. Re-enable once Local list OCR is solved.
$watchers = @("eve_combat_watcher.py", "eve_chat_watcher.py", "eve_rock_watcher.py", "eve_audio_watcher.py", "eve_autoupdate.py")
$watchers = @("eve_combat_watcher.py", "eve_chat_watcher.py", "eve_rock_watcher.py",
"eve_audio_watcher.py", "eve_orehold_watcher.py", "eve_autoupdate.py")
foreach ($w in $watchers) {
Start-Process pythonw -ArgumentList "`"$here\$w`"" -WorkingDirectory $here -WindowStyle Hidden
$err = Join-Path $here ("_err_" + $w + ".log")
Start-Process pythonw -ArgumentList "`"$here\$w`"" -WorkingDirectory $here `
-WindowStyle Hidden -RedirectStandardError $err
Write-Host "started $w"
}
# Ore/gas-hold watcher: OCR mode is headless too (after a one-time --snip).
$cfg = Get-Content (Join-Path $here "config.ini") -ErrorAction SilentlyContinue
if ($cfg -match "mode\s*=\s*ocr") {
Start-Process pythonw -ArgumentList "`"$here\eve_orehold_watcher.py`"" -WorkingDirectory $here -WindowStyle Hidden
Write-Host "started eve_orehold_watcher.py (OCR mode)"
} 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 ""
Write-Host "Watchers running. Stop them with: Get-Process pythonw | Stop-Process"