From 4b55f361dbd67f7a5cfcdd89f6bb786c810dc71e Mon Sep 17 00:00:00 2001 From: XargonWan Date: Sat, 1 Feb 2025 20:58:47 +0900 Subject: [PATCH] Enhanced version string on main menu --- es-app/src/guis/GuiMenu.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/es-app/src/guis/GuiMenu.cpp b/es-app/src/guis/GuiMenu.cpp index 7dc7695ec..d625532ad 100644 --- a/es-app/src/guis/GuiMenu.cpp +++ b/es-app/src/guis/GuiMenu.cpp @@ -2415,12 +2415,11 @@ void GuiMenu::addVersionInfo() // also check that the line is not empty to ensure valid version information if (versionFile && std::getline(versionFile, retroDeckVersion) && !retroDeckVersion.empty()) { LOG(LogInfo) << "RetroDECK version read OK. Version: " + retroDeckVersion; - mVersion.setText("RetroDECK " + retroDeckVersion); } else { LOG(LogInfo) << "Error: Cannot read version from file or file is empty!"; retroDeckVersion = "UNKNOWN"; - mVersion.setText("RetroDECK " + retroDeckVersion); } + mVersion.setText("RetroDECK " + retroDeckVersion + " | ES-DE " + Utils::String::toUpper(PROGRAM_VERSION_STRING)); #endif mVersion.setHorizontalAlignment(ALIGN_CENTER);