fix: remove zos.setLevel(0) from createBundle — default DEFLATE is more reliable with emscripten libzip extraction
Build & Deploy / build-and-deploy (push) Successful in 17s

This commit is contained in:
David Alvarez
2026-05-28 10:06:28 +02:00
parent e11f19c769
commit ba34065278
@@ -281,7 +281,6 @@ public class UploadResource {
// ZIP it up directly from extractDir (no temp copy) // ZIP it up directly from extractDir (no temp copy)
try (var zos = new java.util.zip.ZipOutputStream(Files.newOutputStream(bundlePath))) { 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 -> { Files.walk(extractDir).filter(Files::isRegularFile).forEach(f -> {
try { try {
String entryName = extractDir.relativize(f).toString().replace('\\', '/'); String entryName = extractDir.relativize(f).toString().replace('\\', '/');