Add GitRevision
GitRevision as in TrinityCore
This commit is contained in:
parent
52fa2c2967
commit
7329ad4790
9 changed files with 95 additions and 47 deletions
|
|
@ -20,7 +20,7 @@
|
|||
#include "WheatyExceptionReport.h"
|
||||
|
||||
#include "Common.h"
|
||||
#include "SystemConfig.h"
|
||||
#include "GitRevision.h"
|
||||
#include "revision.h"
|
||||
|
||||
#define CrashFolder _T("Crashes")
|
||||
|
|
@ -422,7 +422,7 @@ PEXCEPTION_POINTERS pExceptionInfo)
|
|||
GetLocalTime(&systime);
|
||||
|
||||
// Start out with a banner
|
||||
_tprintf(_T("Revision: %s\r\n"), _FULLVERSION);
|
||||
_tprintf(_T("Revision: %s\r\n"), GitRevision::GetFullVersion());
|
||||
_tprintf(_T("Date %u:%u:%u. Time %u:%u \r\n"), systime.wDay, systime.wMonth, systime.wYear, systime.wHour, systime.wMinute);
|
||||
PEXCEPTION_RECORD pExceptionRecord = pExceptionInfo->ExceptionRecord;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue