mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-30 05:05:19 -05:00
impr: Added commit hash and branch to nightly popup on welcome screen
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user