element-web/electron_app/src
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
..
electron-main.js Run the Desktop app in a sandbox 2018-12-18 17:42:55 +00:00
preload.js Run the Desktop app in a sandbox 2018-12-18 17:42:55 +00:00
squirrelhooks.js tidy electron files, they were starting to annoy me 2017-05-22 19:21:52 +01:00
tray.js Merge branches 'develop' and 't3chguy/updating_stuff' of github.com:vector-im/riot-web into t3chguy/updating_stuff 2017-06-22 15:04:33 +01:00
updater.js store window ref globally so when splitting files its easier to access. 2017-06-12 13:50:45 +01:00
vectormenu.js Fix menu on change keyboard language issue #4345 2017-07-18 09:23:32 +03:00
webcontents-handler.js Hide URL options for e2e blob: URL images 2018-05-18 12:00:55 +01:00