diff --git a/src/extractor.rs b/src/extractor.rs index a75bb11..999cb7d 100644 --- a/src/extractor.rs +++ b/src/extractor.rs @@ -47,6 +47,7 @@ impl Extractor { .read(true) .write(true) .create(true) + .truncate(true) .open(&self.location) } #[cfg(windows)]