Open EDM115 opened 2 days ago
After some investigation, it seems the issue isn't with symlinks but with renaming across drives. (I was able to upgrade if the symlink pointed to somewhere on the same drive, but not if it pointed to a different drive.) For renaming things on Windows, we ultimately call NtSetInformationFile
, which disallows renaming across drives. To fix this we'll have to change how we rename files.
What version of Bun is running?
1.1.34-canary.51+5e5e7c60f
What platform is your computer?
Microsoft Windows NT 10.0.22635.0 x64
What steps can reproduce the bug?
powershell -c 'irm bun.sh/install.ps1 | iex'
)cd %USERPROFILE% && mklink /D ".bun" "D:\EDM115\UserFiles\.bun"
)bun upgrade
What is the expected behavior?
Bun should be able to update itself regardless of the drive it's present on
What do you see instead?
Additional information
No response