electron/lib/renderer/override.js
2017-01-16 12:38:16 -08:00

8 lines
238 B
JavaScript

'use strict'
const {ipcRenderer} = require('electron')
const {guestInstanceId, openerId} = process
const hiddenPage = process.argv.includes('--hidden-page')
require('./window-setup')(ipcRenderer, guestInstanceId, openerId, hiddenPage)