]> granicus.if.org Git - file/commitdiff
add IOS app from Guy Helmer
authorChristos Zoulas <christos@zoulas.com>
Thu, 5 May 2016 17:07:40 +0000 (17:07 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 5 May 2016 17:07:40 +0000 (17:07 +0000)
magic/Magdir/archive

index 06d7a3abf18845e318104606ebc7c34140340a58..22f4ebb8b75b19d140bdc8b8b229842be0d7cbd3 100644 (file)
@@ -1,5 +1,5 @@
 #------------------------------------------------------------------------------
-# $File: archive,v 1.101 2016/01/08 00:41:02 christos Exp $
+# $File: archive,v 1.102 2016/01/11 20:59:24 christos Exp $
 # archive:  file(1) magic for archive formats (see also "msdos" for self-
 #           extracting compressed archives)
 #
 >(26.s+30)     leshort 0xcafe          Java archive data (JAR)
 !:mime application/java-archive
 
+# iOS App
+>(26.s+30)     leshort !0xcafe
+>>26           string  !\x8\0\0\0mimetype
+>>>30          string  Payload/
+>>>>38         search/64       .app/   iOS App
+!:mime application/x-ios-app
+
+
 # Generic zip archives (Greg Roelofs, c/o zip-bugs@wkuvx1.wku.edu)
 #   Next line excludes specialized formats:
 >(26.s+30)     leshort !0xcafe