From e711eb1893b882b1965a35f28eb791330a463a7c Mon Sep 17 00:00:00 2001 From: Yuya Ochiai Date: Mon, 23 May 2016 23:57:46 +0900 Subject: [PATCH] Fix that "Electron" appears on the title bar for a while on startup. --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 128bb612..aa595c22 100644 --- a/src/main.js +++ b/src/main.js @@ -215,7 +215,7 @@ app.on('ready', function() { // On HiDPI Windows environment, the taskbar icon is pixelated. So this line is necessary. window_options.icon = path.resolve(__dirname, 'resources/appicon.png'); } - window_options.fullScreenable = true; + window_options.title = app.getName(); mainWindow = new BrowserWindow(window_options); mainWindow.setFullScreenable(true); // fullscreenable option has no effect. if (window_options.maximized) {