move session wrapper to webcontents
This commit is contained in:
parent
609f5dcaaf
commit
14661819c2
3 changed files with 7 additions and 11 deletions
|
@ -3,9 +3,6 @@
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue