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:
parent
39a8db936a
commit
a3367cf4fa
1 changed files with 3 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue