1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:27:45 +00:00

HackStudio: Replace custom recent-project management with the LibGUI one

The only downside is we are limited to 4 recent projects now. LibGUI
currently relies on the number of recent files being constexpr, so that
will take some more work to make it variable.
This commit is contained in:
Sam Atkins 2024-01-19 17:00:19 +00:00 committed by Sam Atkins
parent 343de324db
commit 315c95a1ce
3 changed files with 7 additions and 35 deletions

View file

@ -42,6 +42,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::pledge("stdio recvfd sendfd tty rpath cpath wpath proc exec unix fattr thread ptrace"));
auto app = TRY(GUI::Application::create(arguments));
app->set_config_domain("HackStudio"_string);
Config::pledge_domains({ "HackStudio", "Terminal", "FileManager" });
auto window = GUI::Window::construct();