mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:57:35 +00:00
Help: Fix crash when trying to load libunicodedata.so
This commit is contained in:
parent
5bc7a18a04
commit
561b67a1ad
1 changed files with 2 additions and 1 deletions
|
@ -36,13 +36,14 @@
|
|||
|
||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
{
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix"));
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath unix prot_exec"));
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
|
||||
TRY(Core::System::unveil("/res", "r"));
|
||||
TRY(Core::System::unveil("/usr/share/man", "r"));
|
||||
TRY(Core::System::unveil("/tmp/portal/launch", "rw"));
|
||||
TRY(Core::System::unveil("/tmp/portal/webcontent", "rw"));
|
||||
TRY(Core::System::unveil("/usr/lib/libunicodedata.so.serenity", "r"));
|
||||
TRY(Core::System::unveil(nullptr, nullptr));
|
||||
|
||||
char const* start_page = nullptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue