From d99f332523c1e70df8ed1f0d024cc6dd77607433 Mon Sep 17 00:00:00 2001 From: AAGaming Date: Fri, 12 May 2023 02:02:04 +0000 Subject: Initial implementation of global DFL instance (#451) --- frontend/src/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 frontend/src/index.ts (limited to 'frontend/src/index.ts') diff --git a/frontend/src/index.ts b/frontend/src/index.ts new file mode 100644 index 00000000..6588cb5c --- /dev/null +++ b/frontend/src/index.ts @@ -0,0 +1,6 @@ +// Sets up DFL, then loads start.ts which starts up the loader +(async () => { + console.debug('Setting up decky-frontend-lib...'); + window.DFL = await import('decky-frontend-lib'); + await import('./start'); +})(); -- cgit v1.2.3