mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-12-27 03:14:49 +00:00
Prepend a 5 to version strings.
This commit is contained in:
parent
ee02eecfdc
commit
ebc14a9d9d
@ -126,7 +126,7 @@ SET(MultiMC_NEWS_RSS_URL "http://multimc.org/rss.xml" CACHE STRING "URL to fetch
|
|||||||
|
|
||||||
|
|
||||||
######## Set version numbers ########
|
######## Set version numbers ########
|
||||||
SET(MultiMC_VERSION_MAJOR 1)
|
SET(MultiMC_VERSION_MAJOR 0)
|
||||||
SET(MultiMC_VERSION_MINOR 0)
|
SET(MultiMC_VERSION_MINOR 0)
|
||||||
|
|
||||||
# Build number
|
# Build number
|
||||||
@ -148,7 +148,7 @@ SET(MultiMC_UPDATER false CACHE BOOL "Whether or not the update system is enable
|
|||||||
SET(MultiMC_NOTIFICATION_URL "" CACHE STRING "URL for checking for notifications.")
|
SET(MultiMC_NOTIFICATION_URL "" CACHE STRING "URL for checking for notifications.")
|
||||||
|
|
||||||
# Build a version string to display in the configure logs.
|
# Build a version string to display in the configure logs.
|
||||||
SET(MultiMC_VERSION_STRING "${MultiMC_VERSION_MAJOR}.${MultiMC_VERSION_MINOR}")
|
SET(MultiMC_VERSION_STRING "5.${MultiMC_VERSION_MAJOR}.${MultiMC_VERSION_MINOR}")
|
||||||
IF (MultiMC_VERSION_BUILD GREATER -1)
|
IF (MultiMC_VERSION_BUILD GREATER -1)
|
||||||
SET(MultiMC_VERSION_STRING "${MultiMC_VERSION_STRING}.${MultiMC_VERSION_BUILD}")
|
SET(MultiMC_VERSION_STRING "${MultiMC_VERSION_STRING}.${MultiMC_VERSION_BUILD}")
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
|
@ -28,7 +28,7 @@ struct MultiMCVersion
|
|||||||
*/
|
*/
|
||||||
QString toString() const
|
QString toString() const
|
||||||
{
|
{
|
||||||
QString vstr = QString("%1.%2").arg(
|
QString vstr = QString("5.%1.%2").arg(
|
||||||
QString::number(major),
|
QString::number(major),
|
||||||
QString::number(minor));
|
QString::number(minor));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user