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

Function load

projects/electron/src/modules/contextMenu.ts:43–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41}
42
43export const load = () => {
44 app.on("web-contents-created", (_, wc) => {
45 addContextMenu(wc)
46 })
47
48 app.whenReady().then(() => {
49 for (const wc of webContents.getAllWebContents()) {
50 addContextMenu(wc)
51 }
52 })
53}

Callers

nothing calls this directly

Calls 2

addContextMenuFunction · 0.85
onMethod · 0.45

Tested by

no test coverage detected