Set window title immediately when the window is created, fixes #54

This commit is contained in:
Jia Hao 2016-01-23 14:22:03 +08:00
parent c5a76ade59
commit aa384dc317
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
{
width: options.width || 1280,
height: options.height || 800,
title: options.name,
'web-preferences': {
javascript: true,
plugins: true,