HackStudio: Enable permissive mode for Config access

Displaying a GML preview in HackStudio seems to be broken at the moment,
but this change will be needed once it does work again, so might as well
make it now, while I'm aware of the issue.
This commit is contained in:
Sam Atkins 2024-02-12 17:33:51 +00:00 committed by Tim Flynn
commit da118f2adf
Notes: sideshowbarker 2024-07-16 20:44:03 +09:00

View file

@ -43,6 +43,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app = TRY(GUI::Application::create(arguments));
app->set_config_domain("HackStudio"_string);
Config::enable_permissive_mode();
Config::pledge_domains({ "HackStudio", "Terminal", "FileManager" });
auto window = GUI::Window::construct();