From e0b90721299fa3013f66c866ba637c52efe9df1d Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Sat, 19 Oct 2024 21:17:47 -0400 Subject: [PATCH] fix: issue with service scripts that use TestView --- src/backend/src/Kernel.js | 2 +- src/gui/src/init_async.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backend/src/Kernel.js b/src/backend/src/Kernel.js index f3747bb7..d5028d48 100644 --- a/src/backend/src/Kernel.js +++ b/src/backend/src/Kernel.js @@ -48,7 +48,7 @@ class Kernel extends AdvancedBase { const kv = new kvjs(); global.kv = kv; global.cl = console.log; - + const { RuntimeEnvironment } = require('./boot/RuntimeEnvironment'); const { BootLogger } = require('./boot/BootLogger'); diff --git a/src/gui/src/init_async.js b/src/gui/src/init_async.js index 394fb6c8..f52e3f8c 100644 --- a/src/gui/src/init_async.js +++ b/src/gui/src/init_async.js @@ -26,6 +26,7 @@ import './UI/Components/Glyph.js'; import './UI/Components/Spinner.js'; import './UI/Components/ActionCard.js'; import './UI/Components/NotifCard.js'; +import './UI/Components/TestView.js'; logger.info('end -> async initialization'); globalThis.init_promise.resolve();