mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
feat: log the build identifier at startup and show it on the dashboard About page
Every server logs BuildInfo's build string as its version; the About page also shows the build kind and commit, and log bundles name the build. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -105,6 +105,7 @@
|
||||
#include "PermissionGrantsLoader.h"
|
||||
#include "JWTUtils.h"
|
||||
#include "GeneralUtils.h"
|
||||
#include "BuildInfo.h"
|
||||
#include <fstream>
|
||||
#include <filesystem>
|
||||
|
||||
@@ -376,6 +377,7 @@ int main(int argc, char** argv) {
|
||||
Game::config->LogSettings();
|
||||
|
||||
LOG("Starting Dashboard Server");
|
||||
LOG("Version: %s", std::string(BuildInfo::buildString).c_str());
|
||||
|
||||
// Load settings
|
||||
if (Game::config->GetValue("max_clients") != "")
|
||||
|
||||
Reference in New Issue
Block a user