diff options
| author | Kamikadze <40305144+Kam1k4dze@users.noreply.github.com> | 2025-06-02 22:36:44 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-02 18:36:44 +0100 |
| commit | ef2c73af80d37265babc3287b3e5502a40c39374 (patch) | |
| tree | a37025b93c7f599f3a8913c203530ddc5bc77063 /src/config/ConfigManager.cpp | |
| parent | 16c62a6dbb5f8eee4dcfe903e743f6f144971c06 (diff) | |
internal: embed example config (#10608)
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index f7fed52f..8dce9f30 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -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)) |
