diff options
| author | click <click@gonnamakeyou.com> | 2011-08-04 22:53:33 +0200 |
|---|---|---|
| committer | click <click@gonnamakeyou.com> | 2011-08-04 22:53:33 +0200 |
| commit | d7715fa4b8d18d518c1247bcb77c0ef76e9e4b17 (patch) | |
| tree | f83e80743b055e843cd968018a85c56374dd4708 /src/server/authserver/authserver.rc | |
| parent | 2056af63f01c177376fc6bebb41ce158cc6016b4 (diff) | |
Buildsystem/Windows: Add support for reading commithash and commitdate directly from the executable binaries.
To view this information, check the "Product Version" field in Properties on the respective daemon.
+ Fix worldserver/authserver .rc file layouts and content (now adheres to MS standards *sighs*)
+ Change .serv info output to show corename followed by the commit date and hash
+ Include showing the versionstring on worldserver startup completion (on Aokromes' request)
Thanks to Paradox for bugging me enough about it and the initial pull-request.
Diffstat (limited to 'src/server/authserver/authserver.rc')
| -rwxr-xr-x | src/server/authserver/authserver.rc | 37 |
1 files changed, 21 insertions, 16 deletions
diff --git a/src/server/authserver/authserver.rc b/src/server/authserver/authserver.rc index f4e93642c5c..fde1be5061e 100755 --- a/src/server/authserver/authserver.rc +++ b/src/server/authserver/authserver.rc @@ -53,31 +53,36 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_SYS_DEFAULT // VS_VERSION_INFO VERSIONINFO - FILEVERSION FILEVER - PRODUCTVERSION PRODUCTVER - FILEFLAGSMASK 0x17L -#ifdef _DEBUG - FILEFLAGS 0x1L +FILEVERSION VER_FILEVERSION +PRODUCTVERSION VER_PRODUCTVERSION + +FILEFLAGSMASK VS_FFI_FILEFLAGSMASK + +#ifndef _DEBUG + FILEFLAGS 0 #else - FILEFLAGS 0x0L + FILEFLAGS (VER_PRIVATEBUILD|VER_PRERELASE|VER_DEBUG) #endif - FILEOS 0x0L - FILETYPE 0x0L - FILESUBTYPE 0x0L + +FILEOS VOS_NT_WINDOWS32 +FILETYPE VFT_APP + BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "080004b0" BEGIN - VALUE "FileDescription", "authserver" - VALUE "FileVersion", STRFILEVER - VALUE "InternalName", "authserver" - VALUE "LegalCopyright", "Copyright (C) 2008-2010" - VALUE "OriginalFilename", "authserver.exe" - VALUE "ProductName", "authserver" - VALUE "ProductVersion", STRPRODUCTVER + VALUE "CompanyName", VER_COMPANYNAME_STR + VALUE "FileDescription", "TrinityCore Authentication Server Daemon" + VALUE "FileVersion", VER_FILEVERSION_STR + VALUE "InternalName", "authserver" + VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR + VALUE "OriginalFilename", "authserver.exe" + VALUE "ProductName", "TrinityCore Authentication Server" + VALUE "ProductVersion", VER_PRODUCTVERSION_STR END END + BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x800, 1200 |
