electron/spec/fixtures/module/check-arguments.js

4 lines
125 B
JavaScript

var ipcRenderer = require('electron').ipcRenderer
window.onload = function () {
ipcRenderer.send('answer', process.argv)
}