From 94db91b7c17a544dbd07d9eb6337ddf7a9fc536f Mon Sep 17 00:00:00 2001 From: huanghongxun Date: Wed, 29 Apr 2020 21:44:51 +0800 Subject: [PATCH] fix: f**king ZipFileSystem --- .../main/java/org/jackhuang/hmcl/util/io/CompressingUtils.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/io/CompressingUtils.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/io/CompressingUtils.java index 265826c82..38b412da4 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/io/CompressingUtils.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/io/CompressingUtils.java @@ -77,6 +77,8 @@ public final class CompressingUtils { return testZipPath(dir, root, result); } }); + } catch (IllegalArgumentException e) { + throw new IOException(e); } return result.get(); }