override.js 335 B

12345678910
  1. 'use strict'
  2. const {ipcRenderer} = require('electron')
  3. const {guestInstanceId, openerId} = process
  4. const hiddenPage = process.argv.includes('--hidden-page')
  5. const usesNativeWindowOpen = process.argv.includes('--native-window-open')
  6. require('./window-setup')(ipcRenderer, guestInstanceId, openerId, hiddenPage, usesNativeWindowOpen)