2016-03-25 19:57:17 +00:00
|
|
|
'use strict'
|
2016-03-10 19:54:17 +00:00
|
|
|
|
2018-09-13 16:10:51 +00:00
|
|
|
const { ipcRenderer } = require('electron')
|
2016-01-12 02:40:23 +00:00
|
|
|
|
2018-09-13 16:10:51 +00:00
|
|
|
const { guestInstanceId, openerId } = process
|
2017-01-12 00:36:59 +00:00
|
|
|
const hiddenPage = process.argv.includes('--hidden-page')
|
2017-03-19 08:41:20 +00:00
|
|
|
const usesNativeWindowOpen = process.argv.includes('--native-window-open')
|
2016-12-02 01:34:14 +00:00
|
|
|
|
2018-09-20 03:43:26 +00:00
|
|
|
require('@electron/internal/renderer/window-setup')(ipcRenderer, guestInstanceId, openerId, hiddenPage, usesNativeWindowOpen)
|