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:
parent
40fcfdf992
commit
52c02edba0
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user