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',
|
'CFBundleTypeName': 'Text files',
|
||||||
'LSItemContentTypes': ['public.text'],
|
'LSItemContentTypes': ['public.text'],
|
||||||
'LSTypeIsPackage': False,
|
|
||||||
'CFBundleTypeRole': 'Editor',
|
'CFBundleTypeRole': 'Editor',
|
||||||
'LSHandlerRank': 'Alternate',
|
'LSHandlerRank': 'Alternate',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'CFBundleTypeName': 'Image files',
|
'CFBundleTypeName': 'Image files',
|
||||||
'LSItemContentTypes': ['public.image'],
|
'LSItemContentTypes': ['public.image'],
|
||||||
'LSTypeIsPackage': False,
|
|
||||||
'CFBundleTypeRole': 'Viewer',
|
'CFBundleTypeRole': 'Viewer',
|
||||||
'LSHandlerRank': 'Alternate',
|
'LSHandlerRank': 'Alternate',
|
||||||
},
|
},
|
||||||
# Allows dragging arbitrary files to kitty Dock icon, and list kitty in the Open With context menu.
|
# Allows dragging arbitrary files to kitty Dock icon, and list kitty in the Open With context menu.
|
||||||
{
|
{
|
||||||
'CFBundleTypeName': 'All files',
|
'CFBundleTypeName': 'All files',
|
||||||
'LSItemContentTypes': ['public.content', 'public.data'],
|
'LSItemContentTypes': ['public.archive', 'public.content', 'public.data'],
|
||||||
'CFBundleTypeRole': 'Editor',
|
'CFBundleTypeRole': 'Editor',
|
||||||
'LSHandlerRank': 'Alternate',
|
'LSHandlerRank': 'Alternate',
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user