mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:47:35 +00:00
LaunchServer+LibDesktop: Open from mime type
Before, LaunchServer would only open files based on their extension. This wouldn't work if the file had the wrong one.
This commit is contained in:
parent
031322fde3
commit
48766449e5
4 changed files with 65 additions and 12 deletions
|
@ -32,6 +32,7 @@ public:
|
|||
String icon_path() const;
|
||||
GUI::Icon icon() const;
|
||||
bool run_in_terminal() const;
|
||||
Vector<String> launcher_mime_types() const;
|
||||
Vector<String> launcher_file_types() const;
|
||||
Vector<String> launcher_protocols() const;
|
||||
bool spawn() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue