Skip to content

fix: resolve DataRoot from LOCALAPPDATA not InstallRoot parent - #41

Merged
coreybutler merged 1 commit into
mainfrom
fix/dataroot-fixed-runtime-root
Nov 24, 2026
Merged

coreybutler merged 1 commit into
mainfrom
fix/dataroot-fixed-runtime-root

Conversation

@coreybutler

Copy link
Copy Markdown
Contributor

Summary

  • Resolve verifycache/http DataRoot from %LOCALAPPDATA%\Author Software\nvm instead of parent(InstallRoot).
  • Keeps .shim / .nodejs / .verify on the PATH volume when InstallRoot is customized to another drive.

Test plan

  • go test in common/fs (UserDataRoot, HasRisky, InstallRoot)
  • go test in common/verifycache (TestDataRootFromSettingsUsesLocalAppDataNotInstallParent)

Custom InstallRoot must not relocate .shim/.nodejs/.verify — PATH
.nodejs stays under %LOCALAPPDATA%\Author Software\nvm.

Signed-off-by: Corey Butler <770982+coreybutler@users.noreply.github.com>
@coreybutler
coreybutler merged commit 2cffb10 into main Nov 24, 2026
2 checks passed
@coreybutler
coreybutler deleted the fix/dataroot-fixed-runtime-root branch November 24, 2026 04:01
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.

1 participant