1
0
mirror of https://github.com/SKCraft/Launcher.git synced 2024-11-27 12:46:22 +01:00

Fix library compressor URL transformer

This commit is contained in:
Henry Le Grys 2021-01-29 18:09:49 +00:00
parent 40fcfdf992
commit 52c02edba0

View File

@ -254,7 +254,7 @@ public class PackageBuilder {
// Some repositories compress their files // Some repositories compress their files
List<Compressor> compressors = BuilderUtils.getCompressors(baseUrl); List<Compressor> compressors = BuilderUtils.getCompressors(baseUrl);
for (Compressor compressor : Lists.reverse(compressors)) { 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); File tempFile = File.createTempFile("launcherlib", null);