mirror of
https://github.com/Ap0dexMe0/unixtract.git
synced 2026-07-16 05:04:22 +02:00
EOD 11.09.2025
This commit is contained in:
+3
-3
@@ -27,15 +27,15 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
//println!("file");
|
||||
let file = File::open(path)?;
|
||||
|
||||
println!();
|
||||
|
||||
if formats::mstar::is_mstar_file(&file) {
|
||||
println!("Mstar upgrade file detected!");
|
||||
formats::mstar::extract_mstar(&file);
|
||||
formats::mstar::extract_mstar(&file, &output_path)?;
|
||||
} else {
|
||||
println!("File format not recognized!");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user