Bump win.show() back (#1316)

Bump `win.show()` back
This commit is contained in:
aoki 2016-12-30 05:52:37 +09:00 committed by Philippe Potvin
parent ccf818de5a
commit 5773a83dc3

View file

@ -181,6 +181,7 @@ app.on('ready', () => installDevExtensions(isDev).then(() => {
// we update the backgroundColor once the init is called.
// when we do a win.reload() we need need to reset the backgroundColor
win.setBackgroundColor(toElectronBackgroundColor(cfg.backgroundColor || '#000'));
win.show();
// If no callback is passed to createWindow,
// a new session will be created by default.