electron/spec/fixtures/module/check-arguments.js
2020-03-20 13:28:31 -07:00

4 lines
122 B
JavaScript

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