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/shared/SystemConfig.h | |
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/shared/SystemConfig.h')
-rwxr-xr-x | src/server/shared/SystemConfig.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/shared/SystemConfig.h b/src/server/shared/SystemConfig.h index c15d3de2461..18acc739018 100755 --- a/src/server/shared/SystemConfig.h +++ b/src/server/shared/SystemConfig.h @@ -24,7 +24,7 @@ #include "Define.h" #include "revision.h" -#define _PACKAGENAME "TrinityCore " +#define _PACKAGENAME "TrinityCore" #if TRINITY_ENDIAN == TRINITY_BIGENDIAN # define _ENDIAN_STRING "big-endian" @@ -34,11 +34,11 @@ #if PLATFORM == PLATFORM_WINDOWS # ifdef _WIN64 -# define _FULLVERSION _PACKAGENAME "Hash: " _HASH " (Win64, "_BUILD_DIRECTIVE " (" _ENDIAN_STRING "))" +# define _FULLVERSION _PACKAGENAME " rev. " VER_PRODUCTVERSION_STR " (Win64, "_BUILD_DIRECTIVE ")" # else -# define _FULLVERSION _PACKAGENAME "Hash: " _HASH " (Win32, " _BUILD_DIRECTIVE " (" _ENDIAN_STRING "))" +# define _FULLVERSION _PACKAGENAME " rev. " VER_PRODUCTVERSION_STR " (Win32, " _BUILD_DIRECTIVE ")" # endif #else -# define _FULLVERSION _PACKAGENAME "Hash: " _HASH " (Unix, " _BUILD_DIRECTIVE " (" _ENDIAN_STRING "))" +# define _FULLVERSION _PACKAGENAME " rev. " VER_PRODUCTVERSION_STR " (Unix, " _BUILD_DIRECTIVE ")" #endif #endif |