From 68dd6edaa20a0f75f9ed4cf375492ae5cfd2c336 Mon Sep 17 00:00:00 2001 From: JJ Liebig Date: Fri, 18 Sep 2026 15:18:23 +0200 Subject: test(windows): qualify remote clipboard image paste (#4324) * test(windows): qualify remote clipboard image paste refs #4314 * test(windows): verify staged clipboard image contents refs #4314 * test(windows): safely clean failed clipboard leases refs #4314 --- scripts/windows_input/Bootstrap.ps1 | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'scripts/windows_input/Bootstrap.ps1') diff --git a/scripts/windows_input/Bootstrap.ps1 b/scripts/windows_input/Bootstrap.ps1 index 4f6884fb..6008c64f 100644 --- a/scripts/windows_input/Bootstrap.ps1 +++ b/scripts/windows_input/Bootstrap.ps1 @@ -14,7 +14,7 @@ Add-Type -Path "$PSScriptRoot/Native.cs" $before = [HerdrInputGauntlet.ConsoleProbe]::Geometry() $child = $null try { - if ($plan.path -eq 'herdr') { + if ($plan.path -in @('herdr', 'herdr-remote')) { $child = New-GauntletProcess $plan.exe @('--session', $plan.session) $plan } else { $child = New-GauntletProcess $plan.pwsh @('-NoProfile', '-File', "$PSScriptRoot/Probe.ps1", '-PlanPath', $PlanPath) $plan @@ -39,12 +39,6 @@ try { } $child.Dispose() } - if ($plan.path -eq 'herdr') { - foreach ($verb in @('stop', 'delete')) { - try { $null = Invoke-GauntletProcess $plan.exe @('session', $verb, $plan.session) $plan } - catch { $cleanup += $_.ToString() } - } - } Write-GauntletJson (Join-Path $plan.work 'bootstrap-exit.json') @{ nonce = $plan.nonce; before = $before; after = [HerdrInputGauntlet.ConsoleProbe]::Geometry(); cleanup_errors = $cleanup } -- cgit v1.2.3