()
| 41 | } |
| 42 | |
| 43 | export 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 | } |
nothing calls this directly
no test coverage detected