summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-13 17:24:41 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-13 17:24:41 +0100
commit544d0cadfc371bcfb54d9f7ec15464bc6a79af21 (patch)
tree4d8799ceb0cf47982bceb425b9f8df0b89a075e6
parentddc819e396d7b9626b832b092f6298c0faaccde4 (diff)
HCR-17: Boot: Add build date.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
-rw-r--r--Private/NewBoot/Source/RuntimeMain.cxx14
1 files changed, 11 insertions, 3 deletions
diff --git a/Private/NewBoot/Source/RuntimeMain.cxx b/Private/NewBoot/Source/RuntimeMain.cxx
index a6e4015c..3c55c06b 100644
--- a/Private/NewBoot/Source/RuntimeMain.cxx
+++ b/Private/NewBoot/Source/RuntimeMain.cxx
@@ -27,16 +27,24 @@ EFI_EXTERN_C EFI_API Int EfiMain(EfiHandlePtr ImageHandle,
#ifndef __DEBUG__
writer.WriteString(
- L"MahroussLogic (R) HCore Version 1.0.0 (Release Channel)\r\n");
+ L"MahroussLogic (R) HCore Version 1.00 (Release Channel)\r\n");
#else
writer.WriteString(
- L"MahroussLogic (R) HCore Version 1.0.0 (Insiders Channel)\r\n");
+ L"MahroussLogic (R) HCore Version 1.00 (Insiders Channel)\r\n");
#endif
- writer.WriteString(L"HCoreLdr: Firmware Vendor: ")
+ const char strDate[] = __DATE__;
+
+ writer.WriteString(L"Build Date: ");
+
+ for (auto& ch : strDate) {
+ writer.WriteCharacter(ch);
+ }
+
+ writer.WriteString(L"\r\nHCoreLdr: Firmware Vendor: ")
.WriteString(SystemTable->FirmwareVendor)
.WriteString(L"\r\n");