Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Windows path updates for uv tool #5029

Merged
merged 1 commit into from
Jul 13, 2024
Merged

Add Windows path updates for uv tool #5029

merged 1 commit into from
Jul 13, 2024

Conversation

charliermarsh
Copy link
Member

Summary

Largely based on rustup's implementation (linked in the source).

Closes #5027.

Test Plan

  • Changed the executable directory to uv/foo.
  • Ran script; verified that I could access executables in foo.

@charliermarsh charliermarsh added enhancement New feature or request windows Specific to the Windows platform preview Experimental behavior labels Jul 13, 2024
@charliermarsh charliermarsh force-pushed the charlie/winreg branch 5 times, most recently from eeecfad to 7682639 Compare July 13, 2024 01:42
@@ -151,6 +151,7 @@ urlencoding = { version = "2.1.3" }
walkdir = { version = "2.5.0" }
which = { version = "6.0.0" }
winapi = { version = "0.3.9", features = ["fileapi", "handleapi", "ioapiset", "winbase", "winioctl", "winnt"] }
winreg = { version = "0.52.0" }
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already in our dependency tree. I'd slightly rather use winapi if possible but rustup uses winreg and it's just a pain to translate it.

@charliermarsh charliermarsh merged commit 4eb19c7 into main Jul 13, 2024
48 of 49 checks passed
@charliermarsh charliermarsh deleted the charlie/winreg branch July 13, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request preview Experimental behavior windows Specific to the Windows platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Windows support to uv tool update-shell
1 participant