Friedjof/AutomaticChickenFeeder

Automatically create config.json if not available.

Closed this issue · 0 comments

If the config.json does not exist, the template should be renamed to config.json. If the config.json already exists, the template can also be deleted.
To do this, look at ConfigManager.cpp under ./lib/ConfigManager. This functionality can be implemented in the constructor. You can also write your own private function if you need this routine more often.