mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
Everywhere: Use Core::ConfigFile::AllowWriting::Yes to allow writing
This commit is contained in:
parent
54bbe52b51
commit
938051feb8
25 changed files with 29 additions and 29 deletions
|
@ -38,7 +38,7 @@ int main(int argc, char** argv)
|
|||
return 1;
|
||||
}
|
||||
|
||||
auto config = Core::ConfigFile::get_for_app("KeyboardSettings");
|
||||
auto config = Core::ConfigFile::get_for_app("KeyboardSettings", Core::ConfigFile::AllowWriting::Yes);
|
||||
if (unveil(config->filename().characters(), "rwc") < 0) {
|
||||
perror("unveil");
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue