Files
DeskClaw/resources/hermes/start-hermes.ps1
2026-04-21 17:52:26 +00:00

11 lines
307 B
PowerShell

$ErrorActionPreference = "Stop"
$wsl = Get-Command wsl.exe -ErrorAction SilentlyContinue
if (-not $wsl) {
Write-Output "WSL2 is required."
exit 2
}
& wsl.exe -e bash -lc "command -v hermes >/dev/null 2>&1 || exit 3; nohup hermes gateway start >/tmp/hermes-gateway.log 2>&1 </dev/null & echo STARTED"