4 lines
125 B
JavaScript
4 lines
125 B
JavaScript
var ipcRenderer = require('electron').ipcRenderer
|
|
window.answer = function (answer) {
|
|
ipcRenderer.send('answer', answer)
|
|
}
|