From 377e42a24cbce34fbd16e4ce20a11107100f69c0 Mon Sep 17 00:00:00 2001 From: = <=> Date: Tue, 26 Nov 2024 16:21:26 -0700 Subject: [PATCH] linux separator? --- fclauncher/InstanceManager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fclauncher/InstanceManager.go b/fclauncher/InstanceManager.go index e645825..8eca06b 100644 --- a/fclauncher/InstanceManager.go +++ b/fclauncher/InstanceManager.go @@ -353,7 +353,7 @@ common: pkg := tokens[len(tokens)-2] instanceObject.Libraries = append(instanceObject.Libraries, filepath.Join(ProcessMavenPath(lib.Name), ProcessMavenFilename(lib.Name))) for ind, path := range instanceObject.Libraries { - tokens := strings.Split(path, string(os.PathSeparator)) + tokens := strings.Split(path, "/") fmt.Printf("Inspecing path %s with %d tokens", path, len(tokens)) if pkg == tokens[len(tokens)-3] { instanceObject.Libraries[ind] = filepath.Join(ProcessMavenPath(lib.Name), ProcessMavenFilename(lib.Name))