We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c00990 commit 040bfc6Copy full SHA for 040bfc6
preload.js
@@ -4,6 +4,6 @@ contextBridge.exposeInMainWorld('electronAPI', {
4
onUpdateStats: (callback) => ipcRenderer.on('update-stats', callback),
5
onGetRects: (callback) => ipcRenderer.on('get-rects', callback),
6
onStopRecording: (callback) => ipcRenderer.on('stop-recording', callback),
7
- send: (channel) => ipcRenderer.send(channel),
+ send: (channel, data) => ipcRenderer.send(channel, data),
8
desktopCapturer: require('electron').desktopCapturer
9
});
0 commit comments