From 29c2351b2f6901ab6b7f5c1ba3a0c0549a34da56 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 26 Nov 2024 16:49:32 -0700 Subject: [PATCH] use unix path for https requests --- fclauncher/fabric.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fclauncher/fabric.go b/fclauncher/fabric.go index 668b940..34ddd5f 100644 --- a/fclauncher/fabric.go +++ b/fclauncher/fabric.go @@ -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 }