electron/spec/fixtures/api/new-window-preload.js

5 lines
104 B
JavaScript
Raw Normal View History

2020-03-20 20:28:31 +00:00
const { ipcRenderer } = require('electron');
2020-03-20 20:28:31 +00:00
ipcRenderer.send('answer', process.argv);
window.close();