The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop-update): the tethered Windows relaunch does not inherit the stage relay
Teknium121393e1e741
diff --git a/scripts/desktop-update/windows.ps1 b/scripts/desktop-update/windows.ps1index ef4febcdaa3..9e432f67be0 100644--- a/scripts/desktop-update/windows.ps1+++ b/scripts/desktop-update/windows.ps1@@ -882,7 +882,9 @@ function Start-DesktopRelaunch {if (-not $spawned) {try {# Fallback keeps the old behavior (console tie-in and all) --- # a tethered Desktop beats no Desktop.+ # a tethered Desktop beats no Desktop. Unlike the WMI and explorer rungs it inherits+ # this script's environment: the stage relay is the update's, never the app's.+ Remove-Item Env:HERMES_UPDATE_STATUS_FILE -ErrorAction SilentlyContinue$p = Start-Process -FilePath $RelaunchExe -WorkingDirectory (Split-Path -Parent $RelaunchExe) -PassThruStart-Sleep -Milliseconds 1500if ($p -and -not $p.HasExited) { $spawned = $true }