MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / loadSite

Function loadSite

projects/electron/src/executor.ts:161–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

159 let isHandlingFailedLoad = false
160
161 const loadSite = () => {
162 terminalKeyboardCapture = false
163 mbExecutor.webContents.setIgnoreMenuShortcuts(false)
164 isHandlingFailedLoad = false
165 mbExecutor.loadURL(executorUrl)
166 }
167
168 mbExecutor.webContents.on("did-fail-load", (_, errorCode: number, errorDescription: string, validatedURL: string, isMainFrame: boolean) => {
169 if (!isMainFrame) return

Callers 1

startExecutorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected