From 59f2573038ca81be2cdf74321b9a89eeefe0d484 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 29 Dec 2015 17:59:29 -0800 Subject: [PATCH] give browser window a title and icon --- console/src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/console/src/main.js b/console/src/main.js index f1af873f94..a14108a69c 100644 --- a/console/src/main.js +++ b/console/src/main.js @@ -24,6 +24,7 @@ var path = require('path'); const TRAY_FILENAME = (osType == "Darwin" ? "console-tray-Template.png" : "console-tray.png"); const TRAY_ICON = path.join(__dirname, '../resources/' + TRAY_FILENAME); +const APP_ICON = path.join(__dirname, '../resources/console.png'); // print out uncaught exceptions in the console process.on('uncaughtException', console.log.bind(console)); @@ -177,6 +178,8 @@ var hiddenWindow = null; app.on('ready', function() { // create a BrowserWindow so the app launches but don't show it hiddenWindow = new BrowserWindow({ + icon: APP_ICON, + title: "High Fidelity", show: false });