use unix path for https requests

This commit is contained in:
= 2024-11-26 16:49:32 -07:00
parent c34652bc4a
commit 29c2351b2f

View File

@ -88,7 +88,8 @@ func InstallLib(lib FabricLibrary, libDir string, a *App) {
}
}
a.Status(fmt.Sprintf("Downloading %s\n", lib.Name))
resp, err := http.Get(lib.Url + path)
unixPath := strings.ReplaceAll(path, "\\", "/")
resp, err := http.Get(lib.Url + unixPath)
if err != nil {
return
}