mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:17:35 +00:00
Browser: Fix crash on download
This will unveil the portal for RequestServer which is used to download files in the Browser.
This commit is contained in:
parent
a8946eb888
commit
e9bafd768d
1 changed files with 5 additions and 0 deletions
|
@ -94,6 +94,11 @@ int main(int argc, char** argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (unveil("/tmp/portal/request", "rw") < 0) {
|
||||||
|
perror("unveil");
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
unveil(nullptr, nullptr);
|
unveil(nullptr, nullptr);
|
||||||
|
|
||||||
auto app_icon = GUI::Icon::default_icon("app-browser");
|
auto app_icon = GUI::Icon::default_icon("app-browser");
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue