mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:38:11 +00:00
LibCore: Open gif files with QuickShow
This commit is contained in:
parent
679702045d
commit
e7b9e03285
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ bool open_file_url(const URL& url)
|
|||
if (url.path().to_lowercase().ends_with(".png"))
|
||||
return spawn("/bin/QuickShow", url.path());
|
||||
|
||||
if (url.path().to_lowercase().ends_with(".gif"))
|
||||
return spawn("/bin/QuickShow", url.path());
|
||||
|
||||
if (url.path().to_lowercase().ends_with(".html"))
|
||||
return spawn("/bin/Browser", url.path());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue