Remove white flash on boot up

When the electron app is started appear a white flash before show the
MagicMirror system.

This patch remove the white flash on boot up.
This commit is contained in:
Rodrigo Ramez Norambuena 2017-01-04 12:52:21 -03:00 committed by Rodrigo Ramírez Norambuena
parent 8ac8b666bf
commit 6552157894
2 changed files with 5 additions and 1 deletions

View file

@ -28,7 +28,8 @@ function createWindow() {
webPreferences: {
nodeIntegration: false,
zoomFactor: config.zoom
}
},
backgroundColor: "#000000"
}
// DEPRECATED: "kioskmode" backwards compatibility, to be removed