[ci] use GITHUB_SHORT_SHA instead of build number in version

This commit is contained in:
dijunkun
2025-10-24 02:09:50 +08:00
parent ee5612da8b
commit 0bd27d0b17
6 changed files with 2694 additions and 2667 deletions

View File

@@ -33,9 +33,15 @@ int Render::AboutWindow() {
version = "Unknown";
#endif
std::string text =
localization::version[localization_language_index_] + ": " + version;
std::string text = localization::version[localization_language_index_] +
": CrossDesk v" + version;
ImGui::Text("%s", text.c_str());
ImGui::Text("");
std::string copyright_text = "© 2025 by JUNKUN DI. All rights reserved.";
std::string license_text = "Licensed under GNU LGPL v3.";
ImGui::Text("%s", copyright_text.c_str());
ImGui::Text("%s", license_text.c_str());
ImGui::SetCursorPosX(about_window_width_ * 0.42f);
ImGui::SetCursorPosY(about_window_height_ * 0.75f);