Remove dangerzone from macOS application list

This commit is contained in:
Micah Lee 2020-02-21 09:30:05 -08:00
parent f6370383d5
commit 2bfc3545ea
No known key found for this signature in database
GPG key ID: 403C2657CD994F73

View file

@ -321,7 +321,8 @@ class Common(object):
plist_data = f.read()
plist_dict = plistlib.loads(plist_data)
pdf_viewers[plist_dict["CFBundleName"]] = bundle_identifier
if plist_dict["CFBundleName"] != "Dangerzone":
pdf_viewers[plist_dict["CFBundleName"]] = bundle_identifier
elif platform.system() == "Linux":
# Find all .desktop files