electron/spec/fixtures/api/site-instance-overrides/preload.js
2020-03-20 13:28:31 -07:00

3 lines
84 B
JavaScript

const { ipcRenderer } = require('electron');
ipcRenderer.send('pid', process.pid);