summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Smal <evan.smal@hotmail.com>2023-04-01 07:08:29 -0400
committerSam Atkins <atkinssj@gmail.com>2023-04-06 08:56:57 +0100
commit5b906d9a403d5d9038901f97435bb57485de94e4 (patch)
tree63eddf2d9c2ab3d5bb39f8f0a5217f1595efb82d
parent602f5459bfa3d8acad9627ac8fc7af6b77cf66ca (diff)
downloadserenity-5b906d9a403d5d9038901f97435bb57485de94e4.zip
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.
-rw-r--r--Userland/DevTools/HackStudio/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/DevTools/HackStudio/main.cpp b/Userland/DevTools/HackStudio/main.cpp
index abf1777a21..176c320b24 100644
--- a/Userland/DevTools/HackStudio/main.cpp
+++ b/Userland/DevTools/HackStudio/main.cpp
@@ -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);