perf: show window immediately during desktop startup (#6734)

Co-authored-by: Brendan Allan <git@brendonovich.dev>
This commit is contained in:
usvimal
2026-01-07 15:19:01 +08:00
committed by GitHub
parent 79f6910697
commit a8c2928a87
7 changed files with 239 additions and 176 deletions

View File

@@ -1,6 +1,6 @@
// @refresh reload
import { render } from "solid-js/web"
import { App } from "@/app"
import { AppBaseProviders, AppInterface } from "@/app"
import { Platform, PlatformProvider } from "@/context/platform"
import pkg from "../package.json"
@@ -55,7 +55,9 @@ const platform: Platform = {
render(
() => (
<PlatformProvider value={platform}>
<App />
<AppBaseProviders>
<AppInterface />
</AppBaseProviders>
</PlatformProvider>
),
root!,