Expose events (EventEmitter) to sandboxed renderer (#12828)
This commit is contained in:
parent
f67c625e6a
commit
48fe013549
1 changed files with 1 additions and 0 deletions
|
@ -25,6 +25,7 @@ const fs = require('fs')
|
|||
const preloadModules = new Map([
|
||||
['child_process', require('child_process')],
|
||||
['electron', electron],
|
||||
['events', events],
|
||||
['fs', fs],
|
||||
['os', require('os')],
|
||||
['path', require('path')],
|
||||
|
|
Loading…
Reference in a new issue