1
0
mirror of https://github.com/pcvolkmer/osc-variant.git synced 2025-12-16 07:33:20 +00:00

chore: use zip crate version 1.1

This commit is contained in:
2024-04-20 23:49:09 +02:00
parent 1f8bb2f34c
commit 5e297a0353
5 changed files with 120 additions and 43 deletions

View File

@@ -77,7 +77,7 @@ pub fn unzip_osb_using_password(path: &str, dir: &str, password: &str) {
};
for i in 0..archive.len() {
let mut file = if let Ok(Ok(file)) = archive.by_index_decrypt(i, password.as_bytes()) {
let mut file = if let Ok(file) = archive.by_index_decrypt(i, password.as_bytes()) {
file
} else {
println!(