mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 09:01:08 +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()) {
|
for (ZipEntry entry = input.getNextEntry(); entry != null; entry = input.getNextEntry()) {
|
||||||
if (entry.isDirectory()) {
|
if (entry.isDirectory()) {
|
||||||
Files.createDirectory(dir.resolve(IOHelper.toPath(entry.getName())));
|
Files.createDirectory(dir.resolve(IOHelper.toPath(entry.getName())));
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
// Unpack entry
|
// Unpack entry
|
||||||
String name = entry.getName();
|
String name = entry.getName();
|
||||||
|
|
Loading…
Reference in a new issue