mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05: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;
|
||||
}
|
||||
|
||||
if (unveil("/tmp/portal/request", "rw") < 0) {
|
||||
perror("unveil");
|
||||
return 1;
|
||||
}
|
||||
|
||||
unveil(nullptr, nullptr);
|
||||
|
||||
auto app_icon = GUI::Icon::default_icon("app-browser");
|
||||
|
|
Loading…
Add table
Reference in a new issue