The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): order updater imports and pad the shim resolver
teknium14ef2aebc07a3
diff --git a/apps/desktop/electron/main.ts b/apps/desktop/electron/main.tsindex e8a9672895d..ca4ee1a03f3 100644--- a/apps/desktop/electron/main.ts+++ b/apps/desktop/electron/main.ts@@ -3460,6 +3460,7 @@ function repairMacUpdaterHelper(updater) {// `hermes.exe` holds open; on POSIX it's never mandatory-locked.function venvHermesShimPath(updateRoot) {const venvDir = resolveVenvDir(updateRoot)+return IS_WINDOWS? path.join(venvDir, 'Scripts', 'hermes.exe'): path.join(venvDir, 'bin', 'hermes')diff --git a/apps/desktop/electron/updater-process.ts b/apps/desktop/electron/updater-process.tsindex 7a575e93893..6c2d18ab0b6 100644--- a/apps/desktop/electron/updater-process.ts+++ b/apps/desktop/electron/updater-process.ts@@ -2,8 +2,8 @@ import { spawn, type SpawnOptions } from 'node:child_process'import { existsSync, statSync } from 'node:fs'import path from 'node:path'-import { hiddenWindowsChildOptions } from './windows-child-options'import { resolveVenvDir } from './venv-blocker-scan'+import { hiddenWindowsChildOptions } from './windows-child-options'/** File prerequisites only: dependency recovery must remain reachable through update. */export function windowsUpdatePrerequisiteError(updateRoot: string): string | null {