mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
(Android) Added the version code to the GuiMenu version string also for prereleases
This commit is contained in:
parent
8b5a447da6
commit
14064ac603
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// ES-DE
|
// ES-DE Frontend
|
||||||
// GuiMenu.cpp
|
// GuiMenu.cpp
|
||||||
//
|
//
|
||||||
// Main menu.
|
// Main menu.
|
||||||
|
@ -2116,8 +2116,13 @@ void GuiMenu::addVersionInfo()
|
||||||
const std::string applicationName {"ES-DE"};
|
const std::string applicationName {"ES-DE"};
|
||||||
|
|
||||||
#if defined(IS_PRERELEASE)
|
#if defined(IS_PRERELEASE)
|
||||||
|
#if defined(__ANDROID__)
|
||||||
|
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) + "-" +
|
||||||
|
std::to_string(ANDROID_VERSION_CODE) + " (Built " + __DATE__ + ")");
|
||||||
|
#else
|
||||||
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) +
|
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) +
|
||||||
" (Built " + __DATE__ + ")");
|
" (Built " + __DATE__ + ")");
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#if defined(__ANDROID__)
|
#if defined(__ANDROID__)
|
||||||
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) + "-" +
|
mVersion.setText(applicationName + " " + Utils::String::toUpper(PROGRAM_VERSION_STRING) + "-" +
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: MIT
|
// SPDX-License-Identifier: MIT
|
||||||
//
|
//
|
||||||
// ES-DE
|
// ES-DE Frontend
|
||||||
// GuiMenu.h
|
// GuiMenu.h
|
||||||
//
|
//
|
||||||
// Main menu.
|
// Main menu.
|
||||||
|
|
Loading…
Reference in a new issue