Skip to content
This repository was archived by the owner on Oct 22, 2021. It is now read-only.

Commit cc74ec8

Browse files
committed
✨ Display version info in startup boot log
1 parent bb25313 commit cc74ec8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/_renderer.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@ function initGraphicalErrorHandling() {
105105
};
106106
}
107107

108+
let i = 0;
108109
if (!window.settings.nointro) {
109-
let i = 0;
110110
displayLine();
111111
} else {
112112
initGraphicalErrorHandling();
@@ -133,6 +133,8 @@ function displayLine() {
133133
i++;
134134

135135
switch(true) {
136+
case i === 2:
137+
bootScreen.innerHTML += `eDEX-UI Kernel version ${electron.remote.app.getVersion()} boot at ${Date().toString()}; root:xnu-1699.22.73~1/RELEASE_X86_64`;
136138
case i === 4:
137139
setTimeout(displayLine, 500);
138140
break;
@@ -163,6 +165,7 @@ function displayLine() {
163165

164166
// Show "logo" and background grid
165167
function resumeInit() {
168+
let bootScreen = document.getElementById("boot_screen");
166169
bootScreen.innerHTML = "";
167170
setTimeout(() => {
168171
document.body.setAttribute("class", "");

src/assets/misc/boot_log.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
Welcome to eDEX-UI!
2-
eDEX Kernel Version 1.0.0: Tue Oct 11 20:56:35 PDT 2011; root:xnu-1699.22.73~1/RELEASE_X86_64
32
vm_page_bootstrap: 987323 free pages and 53061 wired pages
43
kext submap [0xffffff7f8072e000 - 0xffffff8000000000], kernel text [0xffffff8000200000 - 0xffffff800072e000]
54
zone leak detection enabled

0 commit comments

Comments
 (0)