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

Function bestWindow

projects/electron/src/modules/windowControls.ts:68–68  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66export const load = () => {
67 // Close window when closing last tab
68 const bestWindow = () => currentExecutor().window
69 app.whenReady().then(() => {
70 ipcMain.handle("window-is-pinned", async () => {
71 return { pinned: pinned }

Callers 1

loadFunction · 0.85

Calls 1

currentExecutorFunction · 0.90

Tested by

no test coverage detected