macOS: Add Open with kitty Service
There are still some file types that cannot be matched. Add a standalone Open With service. Users can configure shortcut for this service in System Preferences.
This commit is contained in:
6
setup.py
6
setup.py
@@ -1090,6 +1090,12 @@ def macos_info_plist() -> bytes:
|
||||
'NSRequiredContext': {'NSTextContent': 'FilePath'},
|
||||
'NSSendTypes': ['NSFilenamesPboardType', 'public.plain-text'],
|
||||
},
|
||||
{
|
||||
'NSMenuItem': {'default': f'Open with {appname}'},
|
||||
'NSMessage': 'openFileURLs',
|
||||
'NSRequiredContext': {'NSTextContent': 'FilePath'},
|
||||
'NSSendTypes': ['NSFilenamesPboardType', 'public.plain-text'],
|
||||
},
|
||||
]
|
||||
|
||||
pl = dict(
|
||||
|
||||
Reference in New Issue
Block a user