Use inode/executable rather than application/executable
This commit is contained in:
parent
609bcd68dd
commit
12d8175d9a
@ -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…
x
Reference in New Issue
Block a user