Dynamic year shown in settings
This commit is contained in:
1
Makefile
1
Makefile
@@ -89,6 +89,7 @@ DEFINES += OS_IO_SEPROXYHAL
|
||||
DEFINES += HAVE_SPRINTF HAVE_SNPRINTF_FORMAT_U
|
||||
DEFINES += HAVE_IO_USB HAVE_L4_USBLIB IO_USB_MAX_ENDPOINTS=4 IO_HID_EP_LENGTH=64 HAVE_USB_APDU
|
||||
DEFINES += LEDGER_MAJOR_VERSION=$(APPVERSION_M) LEDGER_MINOR_VERSION=$(APPVERSION_N) LEDGER_PATCH_VERSION=$(APPVERSION_P)
|
||||
DEFINES += BUILD_YEAR=\"$(shell date +%Y)\"
|
||||
|
||||
# U2F
|
||||
DEFINES += HAVE_U2F HAVE_IO_U2F
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include "nbgl_use_case.h"
|
||||
|
||||
static const char* const infoTypes[] = {"Version", APPNAME " App"};
|
||||
static const char* const infoContents[] = {APPVERSION, "(c) 2022 Ledger"};
|
||||
static const char* const infoContents[] = {APPVERSION, "(c) " BUILD_YEAR " Ledger"};
|
||||
|
||||
enum {
|
||||
BLIND_SIGNING_TOKEN = FIRST_USER_TOKEN,
|
||||
|
||||
Reference in New Issue
Block a user