PhotoRec: recover Apple numbers/pages/... as .numbers instead of .zip
This commit is contained in:
parent
bb856b42ad
commit
ede2a1beb8
1 changed files with 3 additions and 0 deletions
|
@ -307,6 +307,9 @@ static int zip_parse_file_entry(file_recovery_t *fr, const char **ext, const uns
|
||||||
/* SMART Notebook */
|
/* SMART Notebook */
|
||||||
else if(len==15 && memcmp(filename, "imsmanifest.xml", 15)==0)
|
else if(len==15 && memcmp(filename, "imsmanifest.xml", 15)==0)
|
||||||
*ext="notebook";
|
*ext="notebook";
|
||||||
|
/* Apple Numbers */
|
||||||
|
else if(len==18 && memcmp(filename, "Index/Document.iwa", 18)==0)
|
||||||
|
*ext="numbers";
|
||||||
else if(len==19 && memcmp(filename, "AndroidManifest.xml", 19)==0)
|
else if(len==19 && memcmp(filename, "AndroidManifest.xml", 19)==0)
|
||||||
*ext="apk";
|
*ext="apk";
|
||||||
else if(len==30 && memcmp(filename, "xsd/MindManagerApplication.xsd", 30)==0)
|
else if(len==30 && memcmp(filename, "xsd/MindManagerApplication.xsd", 30)==0)
|
||||||
|
|
Loading…
Reference in a new issue