electron/lib/renderer/override.js

9 строки
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)