1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 04:47:34 +00:00

LaunchServer: Make all file handlers configurable including directories

This commit gets rid of hard coded file handlers in Launcher.cpp in
favor of using values in the LaunchServer.ini config file.

The previous commit adds checks for the existence of handler programs
while registering handlers. This commit takes advantage of that and
ensures that LaunchServer will not attempt to open a file with a
nonexistent program and can properly report failure before spawning a
new child process.

Resolves #8120
This commit is contained in:
bitwitch 2021-06-21 15:16:09 -04:00 committed by Andreas Kling
parent f29980a15b
commit 5ac9494483
2 changed files with 20 additions and 9 deletions

View file

@ -17,6 +17,7 @@ font=/bin/FontEditor
sheets=/bin/Spreadsheet
gml=/bin/Playground
pdf=/bin/PDFViewer
directory=/bin/FileManager
*=/bin/TextEditor
[Protocol]