/* * Copyright (c) 2020, Nicholas Hollett * * SPDX-License-Identifier: BSD-2-Clause */ #include "ConnectionFromClient.h" #include "Launcher.h" #include #include #include #include #include ErrorOr serenity_main(Main::Arguments) { Core::EventLoop event_loop; auto server = TRY(IPC::MultiServer::try_create()); auto launcher = LaunchServer::Launcher(); launcher.load_handlers(); launcher.load_config(TRY(Core::ConfigFile::open_for_app("LaunchServer"))); TRY(Core::System::pledge("stdio accept rpath proc exec")); return event_loop.exec(); }