Add shims for legacy electron APIs

Signed-off-by: Nathan Sobo <nathan@github.com>
This commit is contained in:
Max Brunsfeld
2016-08-24 13:05:46 -07:00
committed by Thomas Johansen
parent 874b555fde
commit e7444b1ebe
6 changed files with 30 additions and 0 deletions

View File

@@ -6,6 +6,7 @@ module.exports = ({blobStore}) ->
{getWindowLoadSettings} = require './window-load-settings-helpers'
{ipcRenderer} = require 'electron'
{resourcePath, isSpec, devMode, env} = getWindowLoadSettings()
require '../src/electron-shims'
updateProcessEnv(env)