diff --git a/src/electron.ts b/src/electron.ts index cf74c952..eb82d02a 100644 --- a/src/electron.ts +++ b/src/electron.ts @@ -51,7 +51,7 @@ async function createWindow() { mainWindow.once('ready-to-show', () => { if (mainWindow) { - runningUiTestOnCi && mainWindow.setFullScreen(true) + runningUiTestOnCi() && mainWindow.setFullScreen(true) mainWindow.show() } })