summaryrefslogtreecommitdiff
path: root/Userland/Applications/Welcome/main.cpp
diff options
context:
space:
mode:
authorthankyouverycool <66646555+thankyouverycool@users.noreply.github.com>2021-10-18 07:48:26 -0400
committerAndreas Kling <kling@serenityos.org>2021-10-18 15:55:11 +0200
commit5d09f4abce0510d79a5b8e47c743b4aff9a20f4e (patch)
tree9cb69f8cf72d7a517881803b4dbf9e06a3c20bd8 /Userland/Applications/Welcome/main.cpp
parent586a936fac3f3e31dedf851ea84a58287139f747 (diff)
downloadserenity-5d09f4abce0510d79a5b8e47c743b4aff9a20f4e.zip
Welcome: Save startup preference to user's SystemServer session
Off by default.
Diffstat (limited to 'Userland/Applications/Welcome/main.cpp')
-rw-r--r--Userland/Applications/Welcome/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Applications/Welcome/main.cpp b/Userland/Applications/Welcome/main.cpp
index d939153008..86419ff85c 100644
--- a/Userland/Applications/Welcome/main.cpp
+++ b/Userland/Applications/Welcome/main.cpp
@@ -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;