MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / DesktopShellBridge

Interface DesktopShellBridge

src/utils/desktop-shell.ts:9–13  ·  view source on GitHub ↗

* Desktop-shell detection for the renderer. * * The app is served over loopback, so a desktop launch is indistinguishable * from a browser tab unless the Electron preload says so — see * electron/preload-main.cjs.

Source from the content-addressed store, hash-verified

7 */
8
9interface DesktopShellBridge {
10 platform?: string;
11 isFullScreen?: () => boolean;
12 onFullScreenChange?: (cb: (isFullScreen: boolean) => void) => () => void;
13}
14
15declare global {
16 interface Window {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected