1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

Welcome: Save startup preference to user's SystemServer session

Off by default.
This commit is contained in:
thankyouverycool 2021-10-18 07:48:26 -04:00 committed by Andreas Kling
parent 586a936fac
commit 5d09f4abce
4 changed files with 15 additions and 2 deletions

View file

@ -5,6 +5,7 @@
*/
#include "WelcomeWidget.h"
#include <LibConfig/Client.h>
#include <LibGUI/Application.h>
#include <LibGUI/Icon.h>
#include <LibGUI/Window.h>
@ -19,6 +20,8 @@ int main(int argc, char** argv)
auto app = GUI::Application::construct(argc, argv);
Config::pledge_domains("SystemServer");
if (unveil("/res", "r") < 0) {
perror("unveil");
return 1;