diff --git a/src/file_io.rs b/src/file_io.rs index f628b3c..babb0e7 100644 --- a/src/file_io.rs +++ b/src/file_io.rs @@ -118,7 +118,9 @@ impl InputFile { for i in 0..archive.len() { if let Ok(mut zip_file) = archive.by_index_decrypt(i, password.as_bytes()) { - if zip_file.is_file() && zip_file.name().ends_with(".osc") { + if zip_file.is_file() + && zip_file.name().to_lowercase().ends_with(".osc") + { let mut buf = String::new(); let _ = zip_file.read_to_string(&mut buf); result.push(InputFile::Osc {