87ae9324ac
* chore: allow conditional disable of the site instance override patches at runtime * feat: add app.allowRendererProcessReuse property to allow runtime disable of site instance overrides spec: add tests for the new allowRendererProcessReuse property feat: add console warnings / errors for loading non context-aware native modules * Only error if the patch is disabled * Warn all the time, this will ship in Electron 7
3 lines
82 B
JavaScript
3 lines
82 B
JavaScript
const { ipcRenderer } = require('electron')
|
|
|
|
ipcRenderer.send('pid', process.pid)
|