mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:57: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
|
@ -37,7 +37,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto window = GUI::Window::construct();
|
||||
|
||||
auto config = Core::ConfigFile::get_for_app("2048");
|
||||
auto config = Core::ConfigFile::get_for_app("2048", Core::ConfigFile::AllowWriting::Yes);
|
||||
|
||||
size_t board_size = config->read_num_entry("", "board_size", 4);
|
||||
u32 target_tile = config->read_num_entry("", "target_tile", 2048);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue