zip without timestamps

This commit is contained in:
hosted-fornet 2024-08-26 16:30:32 -07:00
parent ca4c7487e9
commit 10cad4cbb2

View File

@ -136,7 +136,8 @@ fn build_and_zip_package(
let mut writer = Cursor::new(Vec::new());
let options = FileOptions::default()
.compression_method(zip::CompressionMethod::Deflated)
.unix_permissions(0o755);
.unix_permissions(0o755)
.last_modified_time(zip::DateTime::from_date_and_time(1980, 1, 1, 0, 0, 0).unwrap());
{
let mut zip = zip::ZipWriter::new(&mut writer);