Make sandbox APIs more compatible with normal renderers

- Expose remote shortcuts for the `fs`, `os` and `child_process` modules.
- Expose the `url` and `timers` modules(the browserify versions)
- Add `process.crash` and `process.platform`
This commit is contained in:
Thiago de Arruda 2017-03-21 10:41:23 -03:00
parent 46aed5ff6f
commit e1aebef57c
6 changed files with 26 additions and 14 deletions

View file

@ -0,0 +1 @@
module.exports = require('electron').remote.require('child_process')