mirror of
https://github.com/Ap0dexMe0/unixtract.git
synced 2026-07-16 05:04:22 +02:00
mstar: add support for old secure format, add option to keep unknown dest
This commit is contained in:
@@ -8,6 +8,7 @@ pub struct Format {
|
||||
}
|
||||
|
||||
pub mod mstar;
|
||||
pub mod mstar_secure_old;
|
||||
pub mod samsung_old;
|
||||
pub mod nvt_timg;
|
||||
pub mod pfl_upg;
|
||||
@@ -58,6 +59,11 @@ pub fn get_registry() -> Vec<Format> {
|
||||
detector_func: crate::formats::mstar::is_mstar_file,
|
||||
extractor_func: crate::formats::mstar::extract_mstar,
|
||||
},
|
||||
Format {
|
||||
name: "mstar_secure_old",
|
||||
detector_func: crate::formats::mstar_secure_old::is_mstar_secure_old_file,
|
||||
extractor_func: crate::formats::mstar_secure_old::extract_mstar_secure_old,
|
||||
},
|
||||
Format {
|
||||
name: "samsung_old",
|
||||
detector_func: crate::formats::samsung_old::is_samsung_old_dir,
|
||||
|
||||
Reference in New Issue
Block a user