mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +00:00
GMLPlayground: Pledge Calendar domain
This now allows for the preview of `@GUI::Calendar` without crashing the whole program.
This commit is contained in:
parent
1080281e58
commit
0c98cde18e
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
TRY(Core::System::pledge("stdio thread recvfd sendfd cpath rpath wpath unix"));
|
||||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
|
||||
Config::pledge_domain("GMLPlayground");
|
||||
Config::pledge_domains({ "GMLPlayground", "Calendar" });
|
||||
app->set_config_domain(TRY("GMLPlayground"_string));
|
||||
|
||||
TRY(Core::System::unveil("/res", "r"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue