mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
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:
parent
e8a803ca5d
commit
da118f2adf
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue