From 415e3b4a93d04e9705ae405de8c5f06cc521d85e Mon Sep 17 00:00:00 2001 From: WerWolv Date: Mon, 16 Dec 2024 21:37:34 +0100 Subject: [PATCH] impr: Added commit hash and branch to nightly popup on welcome screen --- plugins/builtin/source/content/welcome_screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/welcome_screen.cpp b/plugins/builtin/source/content/welcome_screen.cpp index b77ce556f..96f3c2698 100644 --- a/plugins/builtin/source/content/welcome_screen.cpp +++ b/plugins/builtin/source/content/welcome_screen.cpp @@ -192,7 +192,7 @@ namespace hex::plugin::builtin { ImGui::SetCursorPosY(ImGui::GetCursorPosY() + 5_scaled); ImGui::Image(s_nightlyTexture, s_nightlyTexture.getSize()); - ImGuiExt::InfoTooltip("hex.builtin.welcome.nightly_build"_lang); + ImGuiExt::InfoTooltip(hex::format("{0}\n\nCommit: {1}@{2}", "hex.builtin.welcome.nightly_build"_lang, ImHexApi::System::getCommitBranch(), ImHexApi::System::getCommitHash(true)).c_str()); ImGui::SetCursorPos(cursor); }