mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:17:35 +00:00
Spider: Migrate to CardGame
This commit is contained in:
parent
c709dc154f
commit
163a74e3e2
4 changed files with 9 additions and 7 deletions
|
@ -1,6 +1,7 @@
|
|||
/*
|
||||
* Copyright (c) 2021, Jamie Mansfield <jmansfield@cadixdev.org>
|
||||
* Copyright (c) 2021, Mustafa Quraish <mustafa@serenityos.org>
|
||||
* Copyright (c) 2022, Sam Atkins <atkinssj@serenityos.org>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
@ -44,7 +45,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
|||
auto app = TRY(GUI::Application::try_create(arguments));
|
||||
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-spider"sv));
|
||||
|
||||
Config::pledge_domain("Spider");
|
||||
Config::pledge_domains({ "Games", "Spider" });
|
||||
Config::monitor_domain("Games");
|
||||
|
||||
TRY(Core::System::pledge("stdio recvfd sendfd rpath"));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue