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

6 lines
123 B
JavaScript

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