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:
Timothy
2021-06-09 00:59:40 -07:00
committed by Linus Groh
parent a8946eb888
commit e9bafd768d

View File

@@ -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");