mirror of
https://github.com/RGBCube/serenity
synced 2025-05-25 13:35:07 +00:00

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 :)
6 lines
190 B
Text
6 lines
190 B
Text
endpoint LaunchServer = 101
|
|
{
|
|
Greet() => (i32 client_id)
|
|
OpenUrl(String url, String handler_name) => (bool response)
|
|
GetHandlersForURL(String url) => (Vector<String> handlers)
|
|
}
|