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
Build & Deploy / build-and-deploy (push) Successful in 17s
This commit is contained in:
@@ -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('\\', '/');
|
||||
|
||||
Reference in New Issue
Block a user