debugging lib paths

This commit is contained in:
= 2024-11-26 16:12:17 -07:00
parent 20b8433d34
commit 49147a4edd

View File

@ -336,6 +336,7 @@ func (i *InstanceManager) InstallFabric(instance string, fabricVersion string) {
client:
for _, lib := range metadata.LauncherMeta.Libraries.Client {
tokens := strings.Split(ProcessMavenPath(lib.Name), string(os.PathSeparator))
fmt.Printf("processing lib %s as path %s with %d tokens", lib.Name, ProcessMavenPath(lib.Name), len(tokens))
pkg := tokens[len(tokens)-2]
instanceObject.Libraries = append(instanceObject.Libraries, filepath.Join(ProcessMavenPath(lib.Name), ProcessMavenFilename(lib.Name)))
for ind, path := range instanceObject.Libraries {