Open v-georg-v opened 1 month ago
Hey @v-georg-v, thanks for posting this issue. That bug occurs when ZVM tries to install from the official CDN but fails, then attempting to install from one of the two supported mirrors from an invalid URL. I think the current code is too restrictive and didn't account for if the underlying mirror structure changed.
I'm currently out of the country but when I'm back I will update the affected section in install.go
.
Describe the bug 2024/10/13 20:43:56 ERRO failed to download Zig: invalid input: expected a url that started with https://ziglang.org/builds/. Recieved "https://ziglang.org/download/0.13.0/zig-macos-aarch64-0.13.0.tar.xz"
To Reproduce Steps to reproduce the behavior:
zvm install 0.13.0
2 Scroll to '....'Expected behavior Gives me error when i am trying to download not master version of zig. master version i install from zvm
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):