Dynamic year shown in settings

This commit is contained in:
Alexandre Paillier
2023-05-05 14:26:09 +02:00
parent 29a4375dfb
commit 7c07008335
2 changed files with 2 additions and 1 deletions

View File

@@ -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

View File

@@ -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,