});
}
let self = this;
- if (!wrt.tv) {
+ if (!wrt.showSplashScreen() && !wrt.tv) {
self.showTimer = setTimeout(() => {
if (!self.suspended) {
console.log('FrameRendered not obtained from engine. To show window, timer fired');
console.log('mainWindow ready-to-show');
if (self.showTimer)
clearTimeout(self.showTimer);
- wrt.hideSplashScreen(1);
+ wrt.hideSplashScreen(0);
self.firstRendered = true;
if (self.preloadStatus == 'preload') {
self.preloadStatus = 'readyToShow';
this.mainWindow.webContents.on('did-finish-load', function() {
console.log('webContents did-finish-load');
self.loadFinished = true;
- wrt.hideSplashScreen(2);
+ wrt.hideSplashScreen(1);
if (wrt.isIMEWebApp()) {
self.activateIMEWebHelperClient();
} else if (wrt.tv) {