From 52c02edba032077fb144770ba0bb30fbdb0714a0 Mon Sep 17 00:00:00 2001 From: Henry Le Grys Date: Fri, 29 Jan 2021 18:09:49 +0000 Subject: [PATCH] Fix library compressor URL transformer --- .../main/java/com/skcraft/launcher/builder/PackageBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/launcher-builder/src/main/java/com/skcraft/launcher/builder/PackageBuilder.java b/launcher-builder/src/main/java/com/skcraft/launcher/builder/PackageBuilder.java index 65ddc91..92f54fd 100644 --- a/launcher-builder/src/main/java/com/skcraft/launcher/builder/PackageBuilder.java +++ b/launcher-builder/src/main/java/com/skcraft/launcher/builder/PackageBuilder.java @@ -254,7 +254,7 @@ public class PackageBuilder { // Some repositories compress their files List compressors = BuilderUtils.getCompressors(baseUrl); for (Compressor compressor : Lists.reverse(compressors)) { - url = new URL(url, compressor.transformPathname(artifact.getPath())); + url = new URL(compressor.transformPathname(url.toString())); } File tempFile = File.createTempFile("launcherlib", null);