mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCore: DesktopServices, open fonts with FontEditor
This commit is contained in:
committed by
Andreas Kling
parent
39a8db936a
commit
a3367cf4fa
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user