Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(client): get desktop to start
Elian Doran370a0c6a059f
diff --git a/apps/client/src/desktop.html b/apps/client/src/desktop.htmlindex 3eb4153f1b..3ad6a96499 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();</script>