Add compiler info to version label in start screen
Add compiler name and version to start screen (client_background module). It would help distinguish OTClient problems on different compilations.
This commit is contained in:
parent
47766685d9
commit
78ca89d2b4
|
@ -10,7 +10,7 @@ function init()
|
||||||
clientVersionLabel = background:getChildById('clientVersionLabel')
|
clientVersionLabel = background:getChildById('clientVersionLabel')
|
||||||
clientVersionLabel:setText(g_app.getName() .. ' ' .. g_app.getVersion() .. '\n' ..
|
clientVersionLabel:setText(g_app.getName() .. ' ' .. g_app.getVersion() .. '\n' ..
|
||||||
'Rev ' .. g_app.getBuildRevision() .. ' ('.. g_app.getBuildCommit() .. ')\n' ..
|
'Rev ' .. g_app.getBuildRevision() .. ' ('.. g_app.getBuildCommit() .. ')\n' ..
|
||||||
'Built on ' .. g_app.getBuildDate())
|
'Built on ' .. g_app.getBuildDate() .. '\n' .. g_app.getBuildCompiler())
|
||||||
|
|
||||||
if not g_game.isOnline() then
|
if not g_game.isOnline() then
|
||||||
addEvent(function() g_effects.fadeIn(clientVersionLabel, 1500) end)
|
addEvent(function() g_effects.fadeIn(clientVersionLabel, 1500) end)
|
||||||
|
|
Loading…
Reference in New Issue