From e03e54d1a896ebe86b2062a185bec6d98c127311 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Sat, 18 Apr 2009 09:54:55 +0000 Subject: [PATCH] Add a text/x-patch mime so diffs open in Pe. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30235 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/data/beos_mime/text/x-patch | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/data/beos_mime/text/x-patch diff --git a/src/data/beos_mime/text/x-patch b/src/data/beos_mime/text/x-patch new file mode 100644 index 0000000000..2e52cdf872 --- /dev/null +++ b/src/data/beos_mime/text/x-patch @@ -0,0 +1,32 @@ + +resource(0, "BEOS:TYPE") #'MIMS' "application/x-vnd.Be-meta-mime"; + +resource(1, "META:TYPE") "text/x-patch"; + +resource(2, "META:SNIFF_RULE") #'CSTR' array { + "0.30 ([0:100]\"diff \" | [0:100]\"--- \" | [0:100]\"+++ \" | [0:100]\"@@ -\")" +}; + +resource(3, "META:S:DESC") #'MSDC' "Patch"; + +resource(4, "META:EXTENS") message(234) { + "extensions" = "diff", + "extensions" = "patch", + "type" = "text/x-patch" +}; + +resource(5, "META:PREF_APP") #'MSIG' "application/x-vnd.beunited.pe"; + +resource(6, "META:ICON") #'VICN' array { + $"6E6369660505010200060338D2F73CD163BF82B23B84A94B88504870C900B6F5" + $"5CBDDCFFB3FFD7FFBA020106023E49240000000000003CAAAA4940004A3000FF" + $"CCFF897C4FB009040192020006023A55A6BAC2293F0DA33E958646C2EB4870EB" + $"00010101FF85CB520B0606AE0BB40BBF4D33C3AFB75DC173BDEFC607C13EC804" + $"CA28BD82C118B920C51BBB40BF07B8083AB6BC0605AE02B57D3EB9B9C3EFB7BB" + $"44BBB751BD75C936CA8EC1B1402F0A093B593D5BBFCDC93E455BC516C5F16046" + $"5B435D4544510A045A425E3F5A3D574008022E40BDB53308023142BE34BC0308" + $"023444C0E5BB5108023746C0D8BD7508023A48C270BDB508023D4A4CBD820802" + $"404CC408BFE6080A03020203000A0001011001178400040A020101000A000100" + $"1001178400040A010100000A04040604080A1815FF01178100040A0404060408" + $"0A18001501178200040A04030907051815FF0117810004" +};