[Bootstrap] Only inject in main windows
This commit is contained in:
parent
c20233e008
commit
e06e1abda8
1 changed files with 1 additions and 0 deletions
1
src/bootstrap.js
vendored
1
src/bootstrap.js
vendored
|
@ -45,6 +45,7 @@ const startCore = () => {
|
|||
|
||||
app.on('browser-window-created', (e, bw) => { // Main window injection
|
||||
bw.webContents.on('dom-ready', () => {
|
||||
if (!bw.resizable) return; // Main window only
|
||||
splash.pageReady(); // Override Core's pageReady with our own on dom-ready to show main window earlier
|
||||
|
||||
const [ channel, hash ] = oaVersion.split('-'); // Split via -
|
||||
|
|
Loading…
Reference in a new issue