the runtime your coding agents live on
Rust agentagent-orchestrationaiai-agentsclaude-codeclicodexcoding-agentsdeveloper-toolsdevtoolsmultiplexerrustterminalterminal-multiplexerterminal-uitmuxtuiworkspace-manager
fix: migrate legacy windows bin backups
Ogulcan Celik698eb51f543a
diff --git a/website/install.ps1 b/website/install.ps1index 66f9a8c99..ccf082393 100644--- a/website/install.ps1+++ b/website/install.ps1@@ -213,14 +213,14 @@ function Set-ManagedJunction {if ($existingTarget.Equals($TargetPath, [System.StringComparison]::OrdinalIgnoreCase)) {return}- Remove-Item -LiteralPath $LinkPath -Force+ Remove-Item -LiteralPath $LinkPath -Recurse -Force} elseif ($item.PSIsContainer) {if ((Get-ChildItem -LiteralPath $LinkPath -Force | Select-Object -First 1) -ne $null) {if (-not (Move-LegacyHerdrBinDirectory -Path $LinkPath -AllowMigration $AllowLegacyHerdrBinMigration)) {throw "Refusing to replace non-empty directory at $LinkPath with a junction."}} else {- Remove-Item -LiteralPath $LinkPath -Force+ Remove-Item -LiteralPath $LinkPath -Recurse -Force}} else {throw "Refusing to replace file at $LinkPath with a junction."@@ -242,7 +242,11 @@ function Move-LegacyHerdrBinDirectory {}$entries = @(Get-ChildItem -LiteralPath $Path -Force)- if ($entries.Count -ne 1 -or $entries[0].PSIsContainer -or $entries[0].Name -ine "herdr.exe") {+ if (($entries | Where-Object { $_.PSIsContainer } | Select-Object -First 1) -ne $null) {+ return $false+ }++ if (($entries | Where-Object { $_.Name -ieq "herdr.exe" } | Select-Object -First 1) -eq $null) {return $false}