diff --git a/packages/bruno-electron/src/index.js b/packages/bruno-electron/src/index.js index 4475c1716..cad10a10c 100644 --- a/packages/bruno-electron/src/index.js +++ b/packages/bruno-electron/src/index.js @@ -50,7 +50,7 @@ app.on('ready', async () => { height, minWidth: 1000, minHeight: 640, - show: true, + show: false, webPreferences: { nodeIntegration: true, contextIsolation: true, @@ -68,6 +68,9 @@ app.on('ready', async () => { mainWindow.maximize(); } + mainWindow.once('ready-to-show', () => { + mainWindow.show(); + }) const url = isDev ? 'http://localhost:3000' : format({