zekroTJA / goup

🚀 Like rustup or nvm/fnm but for Go: A simple version manager for Go written in Rust!
MIT License
7 stars 1 forks source link

Add support for Windows #2

Closed zekroTJA closed 1 year ago

zekroTJA commented 1 year ago

Adding support for windows brings some difficulties:

  1. Go releases for Windows are distributed via MSI files. The msi crate could be investigated if it fits for handling and installing Go SDKs on Windows.
  2. Environment variable handling differs much from the way unix shells do it. Therefore, the way fnm does handle Windows environments should be investigated.
  3. There are symlinks on windows and they can be created using the implementation of the fs module, but that needs to be tested.