test(startup): isolate deferred logger IPC (#37)

- Issue #37: defer the logger state query until after the first renderer frame.\n- Keep the visible-window startup control otherwise unchanged.\n\nRefs #37.
This commit is contained in:
NimBold
2026-08-27 22:01:27 +03:30
parent 21a3711bdb
commit 5e888e8e22
+4 -2
View File
@@ -1,8 +1,10 @@
import { initLogger } from "./utils/logger";
void initLogger();
const rootElement = document.getElementById("root");
if (rootElement) {
rootElement.textContent = "Firelink startup control";
}
requestAnimationFrame(() => {
void initLogger();
});