Initialize session explicitly

This commit is contained in:
Kevin Sawicki 2016-04-28 11:07:34 -07:00
parent 814ae7b4a4
commit 30b60516fe

View file

@ -1,9 +1,11 @@
'use strict'
const electron = require('electron')
const {Menu} = electron
const {Menu} = require('electron')
const EventEmitter = require('events').EventEmitter
// Initialize session
require('electron').session
const bindings = process.atomBinding('app')
const downloadItemBindings = process.atomBinding('download_item')
const app = bindings.app