mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-24 12:16:28 +01:00
Fix library compressor URL transformer
This commit is contained in:
parent
40fcfdf992
commit
52c02edba0
@ -254,7 +254,7 @@ public class PackageBuilder {
|
||||
// Some repositories compress their files
|
||||
List<Compressor> 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);
|
||||
|
Loading…
Reference in New Issue
Block a user