mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-13 12:09:35 +03:00
macOS: Add archive file type to info plist
List kitty in the Open With menu for archive files. E.g. compressed files or disk image files
This commit is contained in:
parent
9742e2ec48
commit
9989edbe42
4
setup.py
4
setup.py
@ -1006,21 +1006,19 @@ def macos_info_plist() -> bytes:
|
||||
{
|
||||
'CFBundleTypeName': 'Text files',
|
||||
'LSItemContentTypes': ['public.text'],
|
||||
'LSTypeIsPackage': False,
|
||||
'CFBundleTypeRole': 'Editor',
|
||||
'LSHandlerRank': 'Alternate',
|
||||
},
|
||||
{
|
||||
'CFBundleTypeName': 'Image files',
|
||||
'LSItemContentTypes': ['public.image'],
|
||||
'LSTypeIsPackage': False,
|
||||
'CFBundleTypeRole': 'Viewer',
|
||||
'LSHandlerRank': 'Alternate',
|
||||
},
|
||||
# Allows dragging arbitrary files to kitty Dock icon, and list kitty in the Open With context menu.
|
||||
{
|
||||
'CFBundleTypeName': 'All files',
|
||||
'LSItemContentTypes': ['public.content', 'public.data'],
|
||||
'LSItemContentTypes': ['public.archive', 'public.content', 'public.data'],
|
||||
'CFBundleTypeRole': 'Editor',
|
||||
'LSHandlerRank': 'Alternate',
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user