internal: embed example config (#10608)
This commit is contained in:
parent
16c62a6dbb
commit
ef2c73af80
2 changed files with 8 additions and 307 deletions
|
|
@ -849,7 +849,7 @@ std::optional<std::string> CConfigManager::generateConfig(std::string configPath
|
|||
Debug::log(WARN, "No config file found; attempting to generate.");
|
||||
std::ofstream ofs;
|
||||
ofs.open(configPath, std::ios::trunc);
|
||||
ofs << AUTOCONFIG;
|
||||
ofs << AUTOGENERATED_PREFIX << EXAMPLE_CONFIG;
|
||||
ofs.close();
|
||||
|
||||
if (!std::filesystem::exists(configPath))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue