mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-04-06 00:26:46 +08:00
|
Some checks failed
Python Linting / Run Ruff (push) Has been cancelled
CI / Validate OpenAPI Specification (push) Has been cancelled
CI / Code Quality Checks (push) Has been cancelled
E2E Tests on Multiple Platforms / E2E (${{ matrix.os }}, py${{ matrix.python-version }}) (macos-latest, 3.10) (push) Has been cancelled
E2E Tests on Multiple Platforms / E2E (${{ matrix.os }}, py${{ matrix.python-version }}) (ubuntu-latest, 3.10) (push) Has been cancelled
E2E Tests on Multiple Platforms / E2E (${{ matrix.os }}, py${{ matrix.python-version }}) (windows-latest, 3.10) (push) Has been cancelled
On Windows, shutil.rmtree fails when files are locked by antivirus or git handles. The current fallback (reserve_script for lazy delete) is useless in cm-cli where there is no restart cycle, causing reinstall to fail with "Already exists". 3-tier deletion strategy: 1. Retry rmtree 3x with 1s delay (handles transient locks) 2. Rename to .trash_* then delete (moves out of scan path) 3. Lazy delete via reserve_script (ComfyUI GUI fallback) After rename, lazy-delete targets the .trash_* path (not original), so the original path is clear for subsequent clone/install. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| manager_core.py | ||
| manager_server.py | ||
| share_3rdparty.py | ||