macOS: add MHTML file type to handled files

This commit is contained in:
kt programs 2022-07-10 22:21:38 +08:00
parent 65b10d944a
commit c6f326b95b
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,11 @@ INFO_PLIST_UPDATES = {
"CFBundleTypeMIMETypes": ["text/xhtml"],
"CFBundleTypeName": "XHTML document",
"CFBundleTypeRole": "Viewer",
}, {
"CFBundleTypeExtensions": ["mhtml"],
"CFBundleTypeMIMETypes": ["multipart/related", "application/x-mimearchive", "message/rfc822"],
"CFBundleTypeName": "MHTML document",
"CFBundleTypeRole": "Viewer",
}],
# https://developer.apple.com/documentation/avfoundation/cameras_and_media_capture/requesting_authorization_for_media_capture_on_macos