/* * Copyright (c) 2024, circl * * SPDX-License-Identifier: BSD-2-Clause */ #include "MainWindow.h" #include #include #include #include ErrorOr serenity_main(Main::Arguments arguments) { TRY(Core::System::pledge("stdio recvfd sendfd thread cpath rpath wpath unix proc exec")); auto app = TRY(GUI::Application::create(arguments)); app->set_config_domain("Screenshot"_string); auto window = TRY(Screenshot::MainWindow::try_create()); window->show(); return app->exec(); }