Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing

This commit is contained in:
networkException 2021-08-21 16:14:30 +02:00 committed by Andreas Kling
commit 938051feb8
Notes: sideshowbarker 2024-07-18 05:25:22 +09:00
25 changed files with 29 additions and 29 deletions

View file

@ -22,7 +22,7 @@ int main(int argc, char** argv)
}
auto app = GUI::Application::construct(argc, argv);
auto config = Core::ConfigFile::get_for_app("FlappyBug");
auto config = Core::ConfigFile::get_for_app("FlappyBug", Core::ConfigFile::AllowWriting::Yes);
if (pledge("stdio rpath wpath cpath recvfd sendfd", nullptr) < 0) {
perror("pledge");