diff --git a/src/archives.rs b/src/archives.rs index 3095a2a..431d39c 100644 --- a/src/archives.rs +++ b/src/archives.rs @@ -15,7 +15,7 @@ impl ArchiveFormat { pub(crate) fn parse_from_extension(resource: &str) -> Result { if resource.ends_with(".tar.gz") { Ok(Self::TarGz) - } else if resource.ends_with(".zip") { + } else if resource.ends_with(".zip") || resource.ends_with(".aar") { Ok(Self::Zip) } else { Err(Error::ExtractionError("unsupported archive format".into()))