mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 15:45:38 +00:00
Beta releases will now also have the build date displayed in the main menu.
This commit is contained in:
parent
dd1db46522
commit
f78f7ab35f
|
@ -343,8 +343,8 @@ if(APPLE AND CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.14)
|
||||||
add_compile_definitions(LEGACY_MACOS)
|
add_compile_definitions(LEGACY_MACOS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# If it's an alpha or dev build, then display the build date in the main menu.
|
# If it's an alpha, beta or dev build, then display the build date in the main menu.
|
||||||
if(ES_VERSION MATCHES alpha OR ES_VERSION MATCHES dev)
|
if(ES_VERSION MATCHES alpha OR ES_VERSION MATCHES beta OR ES_VERSION MATCHES dev)
|
||||||
add_compile_definitions(MENU_BUILD_DATE)
|
add_compile_definitions(MENU_BUILD_DATE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ fi
|
||||||
if [ $# -ne 3 ] && [ $# -ne 4 ]; then
|
if [ $# -ne 3 ] && [ $# -ne 4 ]; then
|
||||||
echo "Usage: ./update_version_string.sh <major version> <minor version> <patch version> [<suffix>]"
|
echo "Usage: ./update_version_string.sh <major version> <minor version> <patch version> [<suffix>]"
|
||||||
echo "For example:"
|
echo "For example:"
|
||||||
echo "./update_version_string.sh 1 0 0 beta1"
|
echo "./update_version_string.sh 2 0 0 beta"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue