schildi-web/electron_app
David Baker 19f1489c92 Run the Desktop app in a sandbox
* Turn off node integration in the electron renderer process
 * Enable the chromium sandbox to put the renderer into its own process
 * Expose just the ipc module with a preload script
 * Introduce a little IPC call wrapper so we can call into the
   renderer process and await on the result.
 * Use this in a bunch of places we previously used direct calls
   to electron modules.
 * Convert other uses of node, eg. use of process to derive the
   platform (just look at the user agent)
 * Strip out the desktopCapturer integration which doesn't appear
   to have ever worked (probably best to just wait until
   getDisplayMedia() is available in chrome at this point:
   https://github.com/vector-im/riot-web/issues/4880).
2018-12-18 17:42:55 +00:00
..
build npm is "smart" enough to try and install our electron wrapper as a module 2017-05-10 13:36:27 +01:00
img npm is "smart" enough to try and install our electron wrapper as a module 2017-05-10 13:36:27 +01:00
riot.im Phased rollout of lazyloading 2018-10-16 10:43:15 +01:00
src Run the Desktop app in a sandbox 2018-12-18 17:42:55 +00:00
package.json v0.17.8 2018-12-10 13:46:57 +00:00