Commit Graph

2 Commits

Author SHA1 Message Date
Kitzunu
39ec7464ef fix(build): macOS (#17007)
* fix(build): macOS

* Revert "fix(build): macOS"

This reverts commit 612c41e41b2aea55069c0cfaf751c3ba7205e52f.

* Update Config.cpp
2023-08-14 23:38:30 +02:00
Anton Popovichenko
d69ee90ed3 feat(Core/Config): Implement config override with env vars (#16817)
* Core/Config: Implement config override with env vars

Implement overriding of configuration from the .conf file with environment variables.
Environment variables keys are autogenerated based on the keys defined in .conf file.

Usage example:

$ export TC_DATA_DIR=/usr
$ AC_WORLD_SERVER_PORT=8080 ./worldserver

* Add tests for env vars config
2023-08-14 22:07:43 +02:00