From ba340652789b57bb3d64ae79abd2edc40d2ce473 Mon Sep 17 00:00:00 2001 From: David Alvarez Date: Thu, 28 May 2026 10:06:28 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20remove=20zos.setLevel(0)=20from=20create?= =?UTF-8?q?Bundle=20=E2=80=94=20default=20DEFLATE=20is=20more=20reliable?= =?UTF-8?q?=20with=20emscripten=20libzip=20extraction?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/dostalgia/UploadResource.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/com/dostalgia/UploadResource.java b/src/main/java/com/dostalgia/UploadResource.java index 8edd915..ee901e8 100644 --- a/src/main/java/com/dostalgia/UploadResource.java +++ b/src/main/java/com/dostalgia/UploadResource.java @@ -281,7 +281,6 @@ public class UploadResource { // ZIP it up directly from extractDir (no temp copy) try (var zos = new java.util.zip.ZipOutputStream(Files.newOutputStream(bundlePath))) { - zos.setLevel(0); // Store mode — DOS files are often already compressed Files.walk(extractDir).filter(Files::isRegularFile).forEach(f -> { try { String entryName = extractDir.relativize(f).toString().replace('\\', '/');