mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:04:59 +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
1 changed files with 1 additions and 0 deletions
|
@ -43,6 +43,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
|
|
||||||
auto app = TRY(GUI::Application::create(arguments));
|
auto app = TRY(GUI::Application::create(arguments));
|
||||||
app->set_config_domain("HackStudio"_string);
|
app->set_config_domain("HackStudio"_string);
|
||||||
|
Config::enable_permissive_mode();
|
||||||
Config::pledge_domains({ "HackStudio", "Terminal", "FileManager" });
|
Config::pledge_domains({ "HackStudio", "Terminal", "FileManager" });
|
||||||
|
|
||||||
auto window = GUI::Window::construct();
|
auto window = GUI::Window::construct();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue