1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 20:28:11 +00:00

LibCore: DesktopServices, open fonts with FontEditor

This commit is contained in:
Hüseyin ASLITÜRK 2020-05-05 22:20:00 +03:00 committed by Andreas Kling
parent 39a8db936a
commit a3367cf4fa

View file

@ -88,6 +88,9 @@ bool open_file_url(const URL& url)
if (url.path().to_lowercase().ends_with(".wav"))
return spawn("/bin/SoundPlayer", url.path());
if (url.path().to_lowercase().ends_with(".font"))
return spawn("/bin/FontEditor", url.path());
return spawn("/bin/TextEditor", url.path());
}