mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-28 19:59:17 +00:00
LibCore: Open gif files with QuickShow
This commit is contained in:
parent
679702045d
commit
e7b9e03285
Notes:
sideshowbarker
2024-07-19 07:16:45 +09:00
Author: https://github.com/asliturk
Commit: e7b9e03285
Pull-request: https://github.com/SerenityOS/serenity/pull/1956
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
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