a8f2646ba6
* fix: report wrong context error based on contextId * fix: destroyed remote renderer warning is now async
5 lines
171 B
JavaScript
5 lines
171 B
JavaScript
const { remote, ipcRenderer } = require('electron')
|
|
remote.getCurrentWindow().rendererFunc = () => {
|
|
ipcRenderer.send('done')
|
|
}
|
|
remote.getCurrentWindow().rendererFunc()
|