Add working sniffer rule for lha and add lzh extension.

This commit is contained in:
Adrien Destugues 2014-07-17 09:43:52 +02:00
parent 8f9b4f71c5
commit 10632ac2db

View File

@ -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"
};