5 lines
140 B
JavaScript
5 lines
140 B
JavaScript
const { ipcRenderer } = require('electron');
|
|
|
|
window.addEventListener('message', (event) => {
|
|
ipcRenderer.send('answer', event.data);
|
|
});
|