From 354af6cceedb31c0f13487bf11cc22a1a75c5325 Mon Sep 17 00:00:00 2001 From: teknium1 Date: Mon, 2 Mar 2026 22:51:36 -0800 Subject: [PATCH] chore: remove unnecessary migration code from install.ps1 No existing Windows installations to migrate from. --- scripts/install.ps1 | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/scripts/install.ps1 b/scripts/install.ps1 index 2de7b901..00ba2972 100644 --- a/scripts/install.ps1 +++ b/scripts/install.ps1 @@ -877,22 +877,6 @@ function Write-Completion { function Main { Write-Banner - # Migrate from old install location (~\.hermes) if it exists and new location doesn't - $oldHome = "$env:USERPROFILE\.hermes" - if (($HermesHome -ne $oldHome) -and (Test-Path $oldHome) -and -not (Test-Path $HermesHome)) { - Write-Info "Found existing installation at $oldHome" - Write-Info "Moving to new location: $HermesHome" - try { - # Create parent directory - New-Item -ItemType Directory -Force -Path (Split-Path $HermesHome) -ErrorAction SilentlyContinue | Out-Null - Move-Item -Path $oldHome -Destination $HermesHome -Force - Write-Success "Migrated $oldHome → $HermesHome" - } catch { - Write-Warn "Could not auto-migrate: $_" - Write-Info "You can move it manually later: Move-Item $oldHome $HermesHome" - } - } - if (-not (Install-Uv)) { throw "uv installation failed — cannot continue" } if (-not (Test-Python)) { throw "Python $PythonVersion not available — cannot continue" } if (-not (Test-Git)) { throw "Git not found — install from https://git-scm.com/download/win" }