mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +00:00
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:
parent
602f5459bf
commit
5b906d9a40
Notes:
sideshowbarker
2024-07-17 07:48:42 +09:00
Author: https://github.com/evansmal Commit: https://github.com/SerenityOS/serenity/commit/5b906d9a40 Pull-request: https://github.com/SerenityOS/serenity/pull/18128 Reviewed-by: https://github.com/caoimhebyrne ✅
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue