From 370a0c6a059fe822acce6963630834cf213972ad Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 5 Jan 2026 11:40:53 +0200 Subject: [PATCH] feat(client): get desktop to start --- apps/client/src/desktop.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/client/src/desktop.html b/apps/client/src/desktop.html index 3eb4153f1..3ad6a9649 100644 --- a/apps/client/src/desktop.html +++ b/apps/client/src/desktop.html @@ -30,10 +30,16 @@ const response = await fetch("./bootstrap"); const json = await response.json(); + global = globalThis; /* fixes https://github.com/webpack/webpack/issues/10035 */ + window.glob = { ...json, activeDialog: null }; + + const { assetPath } = json; + await import(`./${assetPath}/runtime.js`); + await import(`./${assetPath}/desktop.js`); } bootstrap();