From 5b906d9a403d5d9038901f97435bb57485de94e4 Mon Sep 17 00:00:00 2001 From: Evan Smal Date: Sat, 1 Apr 2023 07:08:29 -0400 Subject: [PATCH] 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. --- Userland/DevTools/HackStudio/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 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);