Use inode/executable rather than application/executable

This commit is contained in:
Kovid Goyal 2022-06-02 10:33:56 +05:30
parent 609bcd68dd
commit 12d8175d9a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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