mirror of
https://github.com/morluto/rea
synced 2026-10-26 06:16:17 -04:00
e3a00bb5f9
* fix(setup): tell MSIX Claude Desktop's process view from any private roaming file Some profiles keep writing the real %APPDATA%\Claude, so the MSIX package never gets a private LocalCache\Roaming\Claude folder and setup and uninstall refused Claude Desktop for good. Compare that folder first and, when it has no file, a bounded set of files from the package's other private roaming folders, which the package redirects in the same way. A package with no private roaming file still refuses, now with the manual edit as the remedy. Fixes #4278 * fix(setup): address review findings on the MSIX roaming probe Name the configuration setup would write, and both package files for uninstall, in the unknown-view advice. Bound the roaming walk by 1024 inspected entries and a queue no longer than the directories it can still list. Count ENOENT at the AppData path as a direct view only while the private file still exists. * fix(setup): bound the roaming walk's directory listings by its entry budget Read at most the names the walk's budget has left, with opendirSync in production, so a crowded package-private folder is never enumerated whole before the budget applies. * fix(setup): recheck the private probe before accepting a mismatched target A private file deleted between the two lookups no longer shadows its AppData path, so a redirected view can reach an ordinary copy there. Count a different target, like ENOENT, as a direct view only while the private file still exists. * fix(setup): repeat the AppData lookup before trusting a rechecked probe A private file deleted and recreated between the lookups passed the existence recheck on stale evidence. Look the AppData path up again after the recheck: a match with the private target is a redirected view, an agreeing non-match counts as direct, and a probe whose lookups disagree decides nothing. * fix: bound Claude roaming folder probes * fix(setup): charge enumerated Claude folder names --------- Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>