feat(client): get desktop to start

This commit is contained in:
Elian Doran 2026-01-05 11:40:53 +02:00
parent 0d4558fee1
commit 370a0c6a05
No known key found for this signature in database

View File

@ -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();
</script>