mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-01 15:18:06 +00:00
Welcome: Save startup preference to user's SystemServer session
Off by default.
This commit is contained in:
parent
586a936fac
commit
5d09f4abce
Notes:
sideshowbarker
2024-07-18 02:11:33 +09:00
Author: https://github.com/thankyouverycool
Commit: 5d09f4abce
Pull-request: https://github.com/SerenityOS/serenity/pull/10529
4 changed files with 15 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue