Fix dumb libraries

This commit is contained in:
Fierelier 2021-03-29 10:51:08 +02:00
parent 4e692e8e6d
commit dd687d451a

View File

@ -156,9 +156,9 @@ def processVersion(versionsPath,libraryPath,nativePath,version):
if "url" in library:
l["url"] = library["url"]
while len(l["url"]) > 0 and l["url"][-1] == "/": l["url"] = l["url"][:-1]
fullUrl = fullUrl + "/" + l["filePath"]
l["url"] = l["url"] + "/" + l["filePath"]
l["filePathOS"] = p(libraryPath,l["path"].replace("/",os.path.sep))
l["filePathOS"] = p(libraryPath,l["filePath"].replace("/",os.path.sep))
libraries.append(l)
if os.path.isfile(p(versionPath,version + ".jar")):