diff --git a/setup.py b/setup.py index a72f319..0ff8dd8 100644 --- a/setup.py +++ b/setup.py @@ -32,6 +32,13 @@ if platform == "darwin": CFBundleExecutable=NAME, CFBundleIdentifier='com.github.ciromattia.kcc', CFBundleSignature='dplt', + CFBundleDocumentTypes=[ + dict( + CFBundleTypeExtensions=['.cbz', '.cbr', '.cb7', '.zip', '.rar', '.7z', '.pdf'], + CFBundleTypeIconFile='comic2ebook.icns', + CFBundleTypeRole='Viewer', + ) + ], NSHumanReadableCopyright='ISC License (ISCL)' ) )