electron/spec-main/fixtures/remote/preload-remote.js

6 lines
132 B
JavaScript
Raw Normal View History

2020-03-20 20:28:31 +00:00
const { ipcRenderer, remote } = require('electron');
window.onload = function () {
2020-03-20 20:28:31 +00:00
ipcRenderer.send('remote', typeof remote);
};