From 649e436ec787b3adbb33e118d8a95c45ceb3ef43 Mon Sep 17 00:00:00 2001 From: Nick Alexander Date: Thu, 24 Nov 2022 19:22:28 +0000 Subject: [PATCH] Bug 1683278 - Support viewing PDF files in the macOS "Open With" context menu. r=mstange Differential Revision: https://phabricator.services.mozilla.com/D162132 --- browser/app/macbuild/Contents/Info.plist.in | 22 +++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/browser/app/macbuild/Contents/Info.plist.in b/browser/app/macbuild/Contents/Info.plist.in index 9ceaf88f15c1..99849c6f06c6 100644 --- a/browser/app/macbuild/Contents/Info.plist.in +++ b/browser/app/macbuild/Contents/Info.plist.in @@ -46,6 +46,28 @@ CFBundleTypeRole Viewer + + CFBundleTypeExtensions + + pdf + + CFBundleTypeIconFile + document.icns + CFBundleTypeMIMETypes + + application/pdf + + CFBundleTypeName + PDF document + CFBundleTypeOSTypes + + TEXT + + CFBundleTypeRole + Viewer + LSHandlerRank + Alternate + CFBundleTypeExtensions