Skip to content

Commit e8b5dd8

Browse files
committed
fix: activate zip and rar formats
1 parent 9ffebde commit e8b5dd8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/main.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,8 @@ fn change_game_data(config: &GameConfig) -> Result<()> {
529529
let dl = download_url(url)?;
530530
let format = match dl.extension.as_deref() {
531531
Some("7z") => archive::Format::SevenZip,
532+
Some("zip") => archive::Format::Zip,
533+
Some("rar") => archive::Format::Rar,
532534
Some(ext) => unimplemented!("Unknown archive extension: {}", ext),
533535
None => unimplemented!("Failed to detect archive extension"),
534536
};

0 commit comments

Comments
 (0)