diff options
author | Nicholas Hollett <niax@niax.co.uk> | 2020-05-16 14:16:43 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-05-18 11:27:27 +0200 |
commit | 3c5f75ed5347668d09c8cc488c601f5d6b1b7bd3 (patch) | |
tree | 034452be0d6239e7b5621ee1d4ae120890fb0518 /Base/res/apps | |
parent | 36996bd720e0ead315dea5057be9f5551af4a787 (diff) | |
download | serenity-3c5f75ed5347668d09c8cc488c601f5d6b1b7bd3.zip |
LaunchServer: Discover handlers from *.af files, allow launching based on a known handler
Adds metadata about apps for what file types and protocols they can
handle, then consumes that in the LaunchServer. The LaunchServer can
then use that to offer multiple options for what apps can open a given
URL. Callers can then pass back the handler name to the LaunchServer to
use an alternate app :)
Diffstat (limited to 'Base/res/apps')
-rw-r--r-- | Base/res/apps/Browser.af | 4 | ||||
-rw-r--r-- | Base/res/apps/TextEditor.af | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Base/res/apps/Browser.af b/Base/res/apps/Browser.af index acd6b59817..895d570f00 100644 --- a/Base/res/apps/Browser.af +++ b/Base/res/apps/Browser.af @@ -6,3 +6,7 @@ Category=Internet [Icons] 16x16=/res/icons/16x16/app-browser.png 32x32=/res/icons/32x32/app-browser.png + +[Launcher] +FileTypes=html,md +Protocols=http,https diff --git a/Base/res/apps/TextEditor.af b/Base/res/apps/TextEditor.af index e66c69cc5c..4916d03e26 100644 --- a/Base/res/apps/TextEditor.af +++ b/Base/res/apps/TextEditor.af @@ -6,3 +6,6 @@ Category=Utilities [Icons] 16x16=/res/icons/TextEditor16.png 32x32=/res/icons/32x32/app-texteditor.png + +[Launcher] +FileTypes=txt,md,html |