mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-27 03:42:49 +00:00
Use inode/executable rather than application/executable
This commit is contained in:
parent
609bcd68dd
commit
12d8175d9a
2 changed files with 2 additions and 2 deletions
|
|
@ -74,5 +74,5 @@ def guess_type(path: str, allow_filesystem_access: bool = False) -> Optional[str
|
|||
if is_dir:
|
||||
mt = 'inode/directory' # type: ignore
|
||||
elif is_exe:
|
||||
mt = 'application/executable'
|
||||
mt = 'inode/executable'
|
||||
return mt
|
||||
|
|
|
|||
|
|
@ -236,7 +236,7 @@ action launch --type=os-window --cwd $FILE_PATH
|
|||
|
||||
# Open executable file
|
||||
protocol file
|
||||
mime application/executable,application/vnd.microsoft.portable-executable
|
||||
mime inode/executable,application/vnd.microsoft.portable-executable
|
||||
action launch --hold --type=os-window $FILE_PATH
|
||||
|
||||
# Open text files without fragments in the editor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue