fix(install): windows install error (#233)

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Haze <hazeone@users.noreply.github.com>
This commit is contained in:
Haze
2026-02-28 18:39:10 +08:00
committed by GitHub
Unverified
parent 3353de91b8
commit 9d07f611a3
4 changed files with 96 additions and 4 deletions

View File

@@ -8,7 +8,13 @@ import { homedir } from 'os';
import { existsSync, mkdirSync, readFileSync, realpathSync } from 'fs';
import { logger } from './logger';
export { quoteForCmd, needsWinShell, prepareWinSpawn } from './win-shell';
export {
quoteForCmd,
needsWinShell,
prepareWinSpawn,
normalizeNodeRequirePathForNodeOptions,
appendNodeRequireToNodeOptions,
} from './win-shell';
/**
* Expand ~ to home directory