diff options
| author | JJ Liebig <jonathan.liebig@gmail.com> | 2026-09-18 15:18:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-09-18 15:18:23 +0200 |
| commit | 68dd6edaa20a0f75f9ed4cf375492ae5cfd2c336 (patch) | |
| tree | 7669b0622cf7bb1311d819589573e107f74cf027 /scripts/windows_input/Bootstrap.ps1 | |
| parent | 7201907b654aefdb9b636b17ea7ca3cddc873d7b (diff) | |
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
Diffstat (limited to 'scripts/windows_input/Bootstrap.ps1')
| -rw-r--r-- | scripts/windows_input/Bootstrap.ps1 | 8 |
1 files changed, 1 insertions, 7 deletions
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 } |
