mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
5 lines
122 B
JavaScript
5 lines
122 B
JavaScript
const { ipcRenderer } = require('electron');
|
|
window.onload = function () {
|
|
ipcRenderer.send('answer', process.argv);
|
|
};
|