Sai/scripts/run-eve-plugin-witness.ps1
2026-07-10 11:31:15 +01:00

6 lines
277 B
PowerShell

param([string] $NodePath = "node")
$ErrorActionPreference = "Stop"
$repoRoot = Split-Path -Parent $PSScriptRoot
& $NodePath (Join-Path $PSScriptRoot "run-eve-cultnet-witness.mjs")
if ($LASTEXITCODE -ne 0) { throw "Sai Eve plugin witness failed with exit code $LASTEXITCODE" }