feat(desktop): add WSL backend mode (#12914)

This commit is contained in:
Brendan Allan
2026-02-11 15:49:48 +08:00
committed by GitHub
parent d98bd4bd52
commit 213a87234d
27 changed files with 690 additions and 354 deletions

View File

@@ -57,6 +57,12 @@ export type Platform = {
/** Set the default server URL to use on app startup (platform-specific) */
setDefaultServerUrl?(url: string | null): Promise<void> | void
/** Get the configured WSL integration (desktop only) */
getWslEnabled?(): Promise<boolean>
/** Set the configured WSL integration (desktop only) */
setWslEnabled?(config: boolean): Promise<void> | void
/** Get the preferred display backend (desktop only) */
getDisplayBackend?(): Promise<DisplayBackend | null> | DisplayBackend | null