54ef906832
* perf: use an internal module resolver instead of relative requires * perf: memoize the results of getting exported Electron properties * perf: make internal module changes consistent across sandboxed / bundled files
9 lines
365 B
JavaScript
9 lines
365 B
JavaScript
'use strict'
|
|
|
|
const { ipcRenderer } = require('electron')
|
|
|
|
const { guestInstanceId, openerId } = process
|
|
const hiddenPage = process.argv.includes('--hidden-page')
|
|
const usesNativeWindowOpen = process.argv.includes('--native-window-open')
|
|
|
|
require('@electron/internal/renderer/window-setup')(ipcRenderer, guestInstanceId, openerId, hiddenPage, usesNativeWindowOpen)
|