HackStudio: Add configuration domain pledge for FileManager

This fixes a bug where clicking the "Save" button would crash the
application because 'FileManager' was a pledged domain.
This commit is contained in:
Evan Smal 2023-04-01 07:08:29 -04:00 committed by Sam Atkins
parent 602f5459bf
commit 5b906d9a40
Notes: sideshowbarker 2024-07-17 07:48:42 +09:00

View file

@ -42,7 +42,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio recvfd sendfd tty rpath cpath wpath proc exec unix fattr thread ptrace"));
auto app = TRY(GUI::Application::try_create(arguments));
Config::pledge_domains({ "HackStudio", "Terminal" });
Config::pledge_domains({ "HackStudio", "Terminal", "FileManager" });
auto window = GUI::Window::construct();
window->resize(840, 600);