1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:27:35 +00:00

LaunchServer+Base: Stop using Browser as default protocol handler

Browser supports very few protocols (http, https, gemini, file) at the
moment, so there's no point in using it as a catch-all and default
protocol handler. I added an explicit association for gemini to
/bin/Browser instead.

This stops Desktop::Launcher::open() from reporting success for any URL,
which really isn't the case (Browser shows an error page...).
This commit is contained in:
Linus Groh 2020-12-24 01:32:14 +01:00 committed by Andreas Kling
parent af007ce126
commit bed240d4b3
4 changed files with 9 additions and 7 deletions

View file

@ -9,4 +9,4 @@ Category=Internet
[Launcher]
FileTypes=html,htm,md
Protocols=http,https
Protocols=gemini,http,https