Add date generated.
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
#include "XmlFile.h"
|
#include "XmlFile.h"
|
||||||
#include "LuaManager.h"
|
#include "LuaManager.h"
|
||||||
#include "ProductInfo.h"
|
#include "ProductInfo.h"
|
||||||
|
#include "DateTime.h"
|
||||||
|
|
||||||
const RString INSTALLER_LANGUAGES_DIR = "Themes/_Installer/Languages/";
|
const RString INSTALLER_LANGUAGES_DIR = "Themes/_Installer/Languages/";
|
||||||
|
|
||||||
@@ -46,11 +47,15 @@ void ExportStrings::Nsis()
|
|||||||
void ExportStrings::LuaInformation()
|
void ExportStrings::LuaInformation()
|
||||||
{
|
{
|
||||||
XNode *pNode = LUA->GetLuaInformation();
|
XNode *pNode = LUA->GetLuaInformation();
|
||||||
|
XNode *pVersionNode = new XNode;
|
||||||
XNode *pDateNode = new XNode;
|
XNode *pDateNode = new XNode;
|
||||||
DISP_OPT disp;
|
DISP_OPT disp;
|
||||||
|
|
||||||
pDateNode->m_sName = "Version";
|
pVersionNode->m_sName = "Version";
|
||||||
pDateNode->m_sValue = PRODUCT_ID_VER;
|
pVersionNode->m_sValue = PRODUCT_ID_VER;
|
||||||
|
pNode->AppendChild( pVersionNode );
|
||||||
|
pDateNode->m_sName = "Date";
|
||||||
|
pDateNode->m_sValue = DateTime::GetNowDate().GetString();
|
||||||
pNode->AppendChild( pDateNode );
|
pNode->AppendChild( pDateNode );
|
||||||
disp.stylesheet = "Lua.xsl";
|
disp.stylesheet = "Lua.xsl";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user