Fix ci fullscreen flag

This commit is contained in:
Thomas Nordquist
2019-05-01 00:58:04 +02:00
parent 14f2f9ff1e
commit 03e228e5a0

View File

@@ -51,7 +51,7 @@ async function createWindow() {
mainWindow.once('ready-to-show', () => {
if (mainWindow) {
runningUiTestOnCi && mainWindow.setFullScreen(true)
runningUiTestOnCi() && mainWindow.setFullScreen(true)
mainWindow.show()
}
})