From 59d47501533b17d547d1f8dff84b61f5a048266d Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 18 Jan 2016 14:46:34 -0800 Subject: [PATCH] fix casing of consts in console main --- console/src/main.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/console/src/main.js b/console/src/main.js index fbb627f13a..a15cfb01f4 100644 --- a/console/src/main.js +++ b/console/src/main.js @@ -30,7 +30,7 @@ const ProcessGroupStates = hfprocess.ProcessGroupStates; const osType = os.type(); -const APP_ICON = path.join(__dirname, '../resources/console.png'); +const appIcon = path.join(__dirname, '../resources/console.png'); function getRootHifiDataDirectory() { if (osType == 'Windows_NT') { @@ -238,7 +238,7 @@ LogWindow.prototype = { return; } // Create the browser window. - this.window = new BrowserWindow({ width: 700, height: 500, icon: APP_ICON }); + this.window = new BrowserWindow({ width: 700, height: 500, icon: appIcon }); this.window.loadURL('file://' + __dirname + '/log.html'); if (!debug) { @@ -404,7 +404,7 @@ function maybeInstallDefaultContentSet(onComplete) { // Show popup var window = new BrowserWindow({ - icon: APP_ICON, + icon: appIcon, width: 640, height: 480, center: true, @@ -481,7 +481,7 @@ function maybeShowSplash() { if (!suppressSplash) { var window = new BrowserWindow({ - icon: APP_ICON, + icon: appIcon, width: 1600, height: 737, center: true, @@ -505,7 +505,7 @@ function detectExistingStackManagerResources() { } const trayFilename = (osType == "Darwin" ? "console-tray-Template.png" : "console-tray.png"); -const trayIcon = path.join(__dirname, '../resources/' + TRAY_FILENAME); +const trayIcon = path.join(__dirname, '../resources/' + trayFilename); // This method will be called when Electron has finished // initialization and is ready to create browser windows.