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

5 lines
132 B
JavaScript

const { ipcRenderer, remote } = require('electron');
window.onload = function () {
ipcRenderer.send('remote', typeof remote);
};