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
commit 315c95a1ce
Notes: sideshowbarker 2024-07-17 21:16:31 +09:00
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();