Understand any codebase instantly. System intelligence for codebases, built for humans and AI.
TypeScript aiai-memoryclaude-codeclicode-analysiscode-mappingcode-memorycodebase-understandingcodexdeveloper-toolsllmopenclawpersistent-memoryprogram-analysissoftware-architecturesystem-intelligencesystem-mapping
Revert "fix: update shim on Linux/Mac after ix upgrade"
Joseph Mikhaile6c0bea7b306
diff --git a/ix-cli/src/cli/commands/upgrade.ts b/ix-cli/src/cli/commands/upgrade.tsindex df78ee08..0b6ad72f 100644--- a/ix-cli/src/cli/commands/upgrade.ts+++ b/ix-cli/src/cli/commands/upgrade.ts@@ -201,7 +201,7 @@ export function registerUpgradeCommand(program: Command): void {process.exit(1);}- // Update the shim to point to the newly installed binary+ // On Windows, update the shim to point to the new versioned directoryif (isWindows) {const shimPath = join(homedir(), ".local", "bin", "ix");const jsPathWin = join(installDir, `ix-${latest}-${platform}`, "cli", "dist", "cli", "main.js");@@ -212,19 +212,6 @@ export function registerUpgradeCommand(program: Command): void {if (existsSync(shimPath)) {writeFileSync(shimPath, `#!/usr/bin/env bash\nexec node "${jsPath}" "$@"\n`);}- } else {- const binaryPath = join(installDir, "ix");- const shimLocations = [- join(homedir(), ".local", "bin", "ix"),- "/usr/local/bin/ix",- ];- for (const shimPath of shimLocations) {- if (existsSync(shimPath)) {- writeFileSync(shimPath, `#!/usr/bin/env bash\nexec "${binaryPath}" "$@"\n`);- try { execFileSync("chmod", ["+x", shimPath], { stdio: "ignore" }); } catch { /* ignore */ }- break;- }- }}console.log(`[ok] Upgraded ix: ${current} → ${latest}`);