mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-05 10:14:06 +00:00
chore: organize build flags (#1371)
* chore: organize build flags * Remove ambiguous include path Don't be default incluyde bcrypt so you need to specify the folder. Allows pre-processor to find the correct file. * Revert settings * working f
This commit is contained in:
@@ -525,12 +525,12 @@ std::string VanityUtilities::ParseMarkdown(const std::string& file) {
|
||||
#endif
|
||||
// Replace "__TIMESTAMP__" with the __TIMESTAMP__
|
||||
GeneralUtils::ReplaceInString(line, "__TIMESTAMP__", __TIMESTAMP__);
|
||||
// Replace "__VERSION__" wit'h the PROJECT_VERSION
|
||||
GeneralUtils::ReplaceInString(line, "__VERSION__", STRINGIFY(PROJECT_VERSION));
|
||||
// Replace "__VERSION__" with the PROJECT_VERSION
|
||||
GeneralUtils::ReplaceInString(line, "__VERSION__", Game::projectVersion);
|
||||
// Replace "__SOURCE__" with SOURCE
|
||||
GeneralUtils::ReplaceInString(line, "__SOURCE__", Game::config->GetValue("source"));
|
||||
// Replace "__LICENSE__" with LICENSE
|
||||
GeneralUtils::ReplaceInString(line, "__LICENSE__", STRINGIFY(LICENSE));
|
||||
GeneralUtils::ReplaceInString(line, "__LICENSE__", "AGPL-3.0");
|
||||
|
||||
if (line.find("##") != std::string::npos) {
|
||||
// Add "<font size='18' color='#000000'>" before the header
|
||||
|
Reference in New Issue
Block a user