dom96 / choosenim

Tool for easily installing and managing multiple versions of the Nim programming language.
BSD 3-Clause "New" or "Revised" License
680 stars 64 forks source link

Unable to install on windows #275

Closed M0n7y5 closed 3 years ago

M0n7y5 commented 3 years ago

Hello, for some reason i am getting this error:

PS C:\Users\admin\Downloads\nimm> .\choosenim-0.8.0_windows_amd64.exe stable
Downloading C compiler (Mingw64)
[##################################################] 100.0% 0kb/s
 Extracting mingw64.7z
     Error: Unable to extract. Error was 'Unsupported format for extraction: C:\Users\admin\.choosenim\downloads\mingw64.7z'.

I have 7zip installed.

vcover commented 3 years ago

I suppose this happens due to this change. mingw is being downloaded as 7z, which isn't handled by extract(). I'd open a PR, unfortunately nim and nimble is still detected as malware on Windows, so I can't use it for the time being.