mirror of
https://github.com/SKCraft/Launcher.git
synced 2024-11-23 12:05:44 +01:00
Add application/zip to acceptable library types (#483)
This commit is contained in:
commit
9060af7dfa
@ -265,7 +265,7 @@ public class PackageBuilder {
|
||||
try {
|
||||
log.info("Downloading library " + library.getName() + " from " + url + "...");
|
||||
HttpRequest.get(url).execute().expectResponseCode(200)
|
||||
.expectContentType("application/java-archive", "application/octet-stream")
|
||||
.expectContentType("application/java-archive", "application/octet-stream", "application/zip")
|
||||
.saveContent(tempFile);
|
||||
} catch (IOException e) {
|
||||
log.info("Could not get file from " + url + ": " + e.getMessage());
|
||||
|
Loading…
Reference in New Issue
Block a user