$ErrorActionPreference = 'Stop' $repoRoot = (Resolve-Path (Join-Path $PSScriptRoot '..\..')).Path Push-Location $repoRoot try { Write-Host 'Building Lumi Companion and all registered Companion plugins...' dotnet build 'companion/Lumi.Companion.sln' -c Release -p:EnableWindowsTargeting=true Write-Host 'Verifying the existing Lumi Song Overlay server plugin...' node 'plugins/now_playing/tests/verify.js' Write-Host 'Song Overlay Companion verification passed.' -ForegroundColor Green } finally { Pop-Location }