1
0
mirror of synced 2025-01-10 21:41:53 +01:00

impr: Added commit hash and branch to nightly popup on welcome screen

This commit is contained in:
WerWolv 2024-12-16 21:37:34 +01:00
parent 8d9b056c8c
commit 415e3b4a93

View File

@ -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);
}