From 03e228e5a0e72d443f302fda79d30ae8d148f5e2 Mon Sep 17 00:00:00 2001 From: Thomas Nordquist Date: Wed, 1 May 2019 00:58:04 +0200 Subject: [PATCH] Fix ci fullscreen flag --- src/electron.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() } })