From 10632ac2db5bf4b656e3aeef29772a2d29d595cb Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Thu, 17 Jul 2014 09:43:52 +0200 Subject: [PATCH] Add working sniffer rule for lha and add lzh extension. --- src/data/mime_db/application/x-lharc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/data/mime_db/application/x-lharc b/src/data/mime_db/application/x-lharc index eb629e1999..5ef93e4020 100644 --- a/src/data/mime_db/application/x-lharc +++ b/src/data/mime_db/application/x-lharc @@ -5,12 +5,13 @@ resource(1, "META:TYPE") "application/x-lharc"; resource(2, "META:S:DESC") #'MSDC' "LHarc archive"; -//resource(2, "META:SNIFF_RULE") "0.40 (\"\\037\\213\")"; +resource(2, "META:SNIFF_RULE") "0.50 (\"??-lh?-\" & 0x0000ffffff00ff) ([20] \"\\000" & 0xfc)"; resource(3, "META:PREF_APP") #'MSIG' "application/x-vnd.Haiku-Expander"; resource(4, "META:EXTENS") message(234) { "extensions" = "lha", + "extensions" = "lzh", "type" = "application/x-lharc" };