mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-09 17:19:02 +00:00
downloadFromGitHubRelease can write a partial archive (or extracted files) into tempDir before failing - e.g. a repo whose latest GitHub release is a source tarball that isn't a valid extension archive. The catch block then reused that dirty tempDir for cloneFromGit, where `git clone <url> ./` fails with "destination path '.' already exists and is not an empty directory". On Windows this surfaces as a hard install failure for any extension repo that has a GitHub release but isn't structured as a release-asset extension (reproduced with https://github.com/Imbad0202/academic-research-skills). Recreate a clean tempDir (rm + mkdir) before the fallback clone so the git clone always runs on an empty directory. Fixes #6334 |
||
|---|---|---|
| .. | ||
| acp-bridge | ||
| audio-capture | ||
| channels | ||
| chrome-extension | ||
| cli | ||
| core | ||
| cua-driver | ||
| desktop | ||
| mobile-mcp | ||
| sdk-java | ||
| sdk-python | ||
| sdk-typescript | ||
| vscode-ide-companion | ||
| web-shell | ||
| web-templates | ||
| webui | ||
| zed-extension | ||