'#define VERSION_STRING XXX' must come before '#define VERSION_STRING_SUFFIX YYY' (#506)

in order for 'export TC_VERSION := $(shell grep VERSION_STRING ../Common/Tcdefs.h | head -n 1 | cut -d'"' -f 2)'
in 'src/Main/Main.make' to actually return the version rather than '-CustomEFI'.
This commit is contained in:
El Mostafa Idrassi 2019-10-03 15:34:43 +01:00 committed by Mounir IDRASSI
parent 75d0bb97cb
commit be09fa8a53

View File

@ -54,15 +54,15 @@ extern unsigned short _rotl16(unsigned short value, unsigned char shift);
#define TC_APP_NAME "VeraCrypt" #define TC_APP_NAME "VeraCrypt"
// Version displayed to user
#define VERSION_STRING "1.24-Beta6"
#ifdef VC_EFI_CUSTOM_MODE #ifdef VC_EFI_CUSTOM_MODE
#define VERSION_STRING_SUFFIX "-CustomEFI" #define VERSION_STRING_SUFFIX "-CustomEFI"
#else #else
#define VERSION_STRING_SUFFIX "" #define VERSION_STRING_SUFFIX ""
#endif #endif
// Version displayed to user
#define VERSION_STRING "1.24-Beta6"
// Version number to compare against driver // Version number to compare against driver
#define VERSION_NUM 0x0124 #define VERSION_NUM 0x0124