Skip to content

fix(windows): support relocated WindowsApps package junctions - #1

Merged
alksdesu merged 1 commit into
alksdesu:mainfrom
RaphllA:fix/windowsapps-junction-root
Oct 31, 2026
Merged

alksdesu merged 1 commit into
alksdesu:mainfrom
RaphllA:fix/windowsapps-junction-root

Conversation

@RaphllA

@RaphllA RaphllA commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Claude Desktop can be registered under C:\Program Files\WindowsApps while its package root is an NTFS junction to another drive. Native-feature discovery currently rejects that root before resolving it, so the installation reports “拒绝操作重解析点”.

Resolve junctions only at the AppX-registered package root, require a same-named package under WindowsApps, and retain the existing checks against links inside the application and the original signature/backup checks. Canonicalize process executable paths when needed so a Claude process launched through the registered path is still detected after the installation resolves to another drive.

Validation:

  • 12 targeted Windows tests passed, including relocated roots, invalid destinations, linked app-directory rejection, process aliases, and existing rollback checks. The existing fixture-only combination test remains ignored.
  • Release build passed with tauri/custom-protocol; frontend build passed.
  • A read-only probe on a relocated Claude Desktop 3.6556.2 installation reported available, correctly detected the running app, and disabled installation while it was running.

The separate EFS-encrypted-file backup failure is not addressed by this change.

@alksdesu
alksdesu merged commit 5999913 into alksdesu:main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants