Files
codeg/src-tauri
xintaofei f264f560b1 fix(acp): bypass Windows file locks when clearing binary cache
clear_agent_cache falls back to renaming the agent cache directory
to <cache_dir>/.trash/<agent_id>-<nanos>-<counter>/ when
remove_dir_all fails — typically because a running <cmd>.exe or a
Defender scan holds the file. NTFS rename succeeds on directories
whose children are locked, so Upgrade and Uninstall no longer
surface ERROR_ACCESS_DENIED on Windows.

A detached OS thread sweeps .trash/ at startup with all errors
swallowed, panics caught, and no shared state — cannot block app
startup or leak threads. Still-locked entries are left for the
next launch.
2026-04-25 15:56:47 +08:00
..
2026-03-06 22:56:13 +08:00
2026-03-29 18:36:30 +08:00
2026-04-25 00:26:50 +08:00
2026-04-25 00:26:50 +08:00
2026-04-25 00:26:50 +08:00