mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-12-25 19:22:01 +03:00
fixes compression method to deflate
This commit is contained in:
parent
c336f5a704
commit
79e6b6a33c
@ -86,7 +86,7 @@ impl ZipFile {
|
||||
let file = &mut File::create(&path)?;
|
||||
let mut zip = ZipWriter::new(file);
|
||||
let options = FileOptions::default()
|
||||
.compression_method(zip::CompressionMethod::Stored)
|
||||
.compression_method(zip::CompressionMethod::Deflated)
|
||||
.unix_permissions(0o755);
|
||||
|
||||
// Walk through files in directory and write desired ones to the zip file
|
||||
|
Loading…
Reference in New Issue
Block a user