2020-03-20 20:28:31 +00:00
|
|
|
const { remote, ipcRenderer } = require('electron');
|
2018-10-31 15:26:57 +00:00
|
|
|
remote.getCurrentWindow().rendererFunc = () => {
|
2020-03-20 20:28:31 +00:00
|
|
|
ipcRenderer.send('done');
|
|
|
|
};
|
|
|
|
remote.getCurrentWindow().rendererFunc();
|