mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-19 08:51:57 +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: 5b906d9a40
Pull-request: https://github.com/SerenityOS/serenity/pull/18128
Reviewed-by: https://github.com/caoimhebyrne ✅
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
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));
|
auto app = TRY(GUI::Application::try_create(arguments));
|
||||||
Config::pledge_domains({ "HackStudio", "Terminal" });
|
Config::pledge_domains({ "HackStudio", "Terminal", "FileManager" });
|
||||||
|
|
||||||
auto window = GUI::Window::construct();
|
auto window = GUI::Window::construct();
|
||||||
window->resize(840, 600);
|
window->resize(840, 600);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue