From 6a5ab3d4062c32a4ce907c89e1157e913c5fe9a3 Mon Sep 17 00:00:00 2001 From: sshiiden Date: Sat, 11 Jan 2025 16:31:16 +0100 Subject: [PATCH] add status to version --- core/version.h | 6 +++--- editor/editor_node.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/version.h b/core/version.h index 94b711940141..f38b1d9096b4 100644 --- a/core/version.h +++ b/core/version.h @@ -86,11 +86,11 @@ // Similar to EXTERNAL_VERSION_FULL_CONFIG, but also includes the VERSION_FULL_BUILD // description. // Example: "0.1.0.stable.mono (3.1.4.stable.mono.official)" -#define EXTERNAL_VERSION_FULL_BUILD EXTERNAL_VERSION_NUMBER "(" VERSION_FULL_BUILD ")" +#define EXTERNAL_VERSION_FULL_BUILD EXTERNAL_VERSION_FULL_CONFIG " (" VERSION_FULL_BUILD ")" // Same as above, but prepended with Godot's name and a cosmetic "v" for "version". -// Example: "Blazium v0.1.0.nightly.mono (base v3.1.4.stable.mono.official)" -#define VERSION_FULL_NAME VERSION_NAME " v" EXTERNAL_VERSION_NUMBER " (base v" VERSION_FULL_BUILD ")" +// Example: "Blazium Engine v0.1.0.nightly.mono (3.1.4.stable.mono.official)" +#define VERSION_FULL_NAME VERSION_NAME " v" EXTERNAL_VERSION_FULL_BUILD // Git commit hash, generated at build time in `core/version_hash.gen.cpp`. extern const char *const VERSION_HASH; diff --git a/editor/editor_node.cpp b/editor/editor_node.cpp index 055831844a6e..37571b0e94c0 100644 --- a/editor/editor_node.cpp +++ b/editor/editor_node.cpp @@ -5015,7 +5015,7 @@ String EditorNode::_get_system_info() const { } const String distribution_version = OS::get_singleton()->get_version(); - String godot_version = "Blazium v" + String(VERSION_FULL_CONFIG); + String godot_version = String(VERSION_FULL_NAME); if (String(VERSION_BUILD) != "official") { String hash = String(VERSION_HASH); hash = hash.is_empty() ? String("unknown") : vformat("(%s)", hash.left(9));