mirror of
https://github.com/electron/electron.git
synced 2026-01-29 17:28:18 -05:00
5 lines
150 B
JavaScript
5 lines
150 B
JavaScript
const { ipcRenderer } = require('electron')
|
|
window.onload = function () {
|
|
ipcRenderer.send('answer', typeof window.process, typeof window.Buffer)
|
|
}
|