From 1912393a409c87a4091d396228dd39a24aa35e5e Mon Sep 17 00:00:00 2001 From: Gravita Date: Sun, 11 Jul 2021 23:08:39 +0700 Subject: [PATCH] [FIX] Download ZIP fix --- LauncherCore/src/main/java/pro/gravit/utils/HttpDownloader.java | 1 + 1 file changed, 1 insertion(+) diff --git a/LauncherCore/src/main/java/pro/gravit/utils/HttpDownloader.java b/LauncherCore/src/main/java/pro/gravit/utils/HttpDownloader.java index 798f4452..161d317b 100644 --- a/LauncherCore/src/main/java/pro/gravit/utils/HttpDownloader.java +++ b/LauncherCore/src/main/java/pro/gravit/utils/HttpDownloader.java @@ -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();