mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Download ZIP fix
This commit is contained in:
parent
ac15002327
commit
1912393a40
1 changed files with 1 additions and 0 deletions
|
@ -59,6 +59,7 @@ public static void downloadZip(URL url, Path dir) throws IOException {
|
|||
for (ZipEntry entry = input.getNextEntry(); entry != null; entry = input.getNextEntry()) {
|
||||
if (entry.isDirectory()) {
|
||||
Files.createDirectory(dir.resolve(IOHelper.toPath(entry.getName())));
|
||||
continue;
|
||||
}
|
||||
// Unpack entry
|
||||
String name = entry.getName();
|
||||
|
|
Loading…
Reference in a new issue