Closed JartanFTW closed 3 years ago
Basically would just copy paste horizon_config_example.ini as horizon_config.ini on startup if no horizon_config.ini could be found.
Prevents error confusion caused by missing config.
Will need extra error handling in the event that horizon_config_example.ini isn't present either.
Thinking about this further, this isn't a great idea because users seem to frequently edit the example config itself, which would just cause further confusion when Horizon uses it to create the actual config
Summary
Basically would just copy paste horizon_config_example.ini as horizon_config.ini on startup if no horizon_config.ini could be found.
Motivation
Prevents error confusion caused by missing config.
Additional Information
Will need extra error handling in the event that horizon_config_example.ini isn't present either.