mirror of
https://github.com/zadam/trilium.git
synced 2026-01-11 17:14:26 +01:00
feat(client): get desktop to start
This commit is contained in:
parent
0d4558fee1
commit
370a0c6a05
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user