diff options
Diffstat (limited to 'Userland/Applications/Spreadsheet/main.cpp')
-rw-r--r-- | Userland/Applications/Spreadsheet/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Applications/Spreadsheet/main.cpp b/Userland/Applications/Spreadsheet/main.cpp index bd1cc8a8a0..5ae81a6aeb 100644 --- a/Userland/Applications/Spreadsheet/main.cpp +++ b/Userland/Applications/Spreadsheet/main.cpp @@ -9,6 +9,7 @@ #include "SpreadsheetWidget.h" #include <AK/ScopeGuard.h> #include <AK/Try.h> +#include <LibConfig/Client.h> #include <LibCore/ArgsParser.h> #include <LibCore/System.h> #include <LibFileSystem/FileSystem.h> @@ -40,6 +41,9 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) } } + Config::pledge_domain("Spreadsheet"); + app->set_config_domain(TRY("Spreadsheet"_string)); + TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw")); TRY(Core::System::unveil("/tmp/session/%sid/portal/webcontent", "rw")); TRY(Core::System::unveil("/etc", "r")); |