6 lines
145 B
JavaScript
6 lines
145 B
JavaScript
|
const { ipcRenderer } = require('electron');
|
||
|
|
||
|
window.addEventListener('message', (event) => {
|
||
|
ipcRenderer.send('leak-result', event.data);
|
||
|
});
|