mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-05-07 17:21:25 +00:00
The `uv` executable path was not quoted, causing failures on Windows when the user profile path contained spaces (e.g. "C:\Users\John Doe\.eigent\bin\uv.exe"). This occurs because `spawn` with `shell: true` parses the space as an argument separator. This change wraps the `uv_path` in double quotes when constructing `npmCommand` and `npxCommand`, ensuring the shell treats the full path as the executable. Also fixed a missing mock for `getUvEnv` in `test/mocks/environmentMocks.ts` which was causing unit tests to fail. |
||
|---|---|---|
| .. | ||
| main | ||
| preload | ||
| electron-env.d.ts | ||
| electron.d.ts | ||