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

6 lines
129 B
JavaScript
Raw Normal View History

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