diff options
| author | Filip <[email protected]> | 2026-02-11 16:18:44 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-11 09:18:44 -0600 |
| commit | eef3ae3e1f73eca103892a758d44e24d3c725d81 (patch) | |
| tree | b076ba087302927daf732bb766ae545790aad4c6 /packages/app/src/context | |
| parent | fc88dde63f1c4a7f547bbe0634c68c5ce9fc787c (diff) | |
| download | opencode-eef3ae3e1f73eca103892a758d44e24d3c725d81.tar.gz opencode-eef3ae3e1f73eca103892a758d44e24d3c725d81.zip | |
Fix/reverception (#13166)
Co-authored-by: Adam <[email protected]>
Diffstat (limited to 'packages/app/src/context')
| -rw-r--r-- | packages/app/src/context/platform.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/app/src/context/platform.tsx b/packages/app/src/context/platform.tsx index 7aa6c6554..e260c1977 100644 --- a/packages/app/src/context/platform.tsx +++ b/packages/app/src/context/platform.tsx @@ -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 |
