mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:48:12 +00:00
FileManager: Open .html files in Browser instead of "html"
This commit is contained in:
parent
6287c2b270
commit
90cd363a8e
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ void DirectoryView::handle_activation(const GModelIndex& index)
|
|||
|
||||
if (path.to_lowercase().ends_with(".html")) {
|
||||
if (fork() == 0) {
|
||||
int rc = execl("/bin/html", "/bin/html", path.characters(), nullptr);
|
||||
int rc = execl("/bin/Browser", "/bin/Browser", path.characters(), nullptr);
|
||||
if (rc < 0)
|
||||
perror("exec");
|
||||
ASSERT_NOT_REACHED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue