From b8e3203d3f72eaf3acb0ee3964fa9c1be230ac88 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Mon, 28 Dec 2015 12:44:51 -0800 Subject: [PATCH] move tray declaration down in main.js --- console/src/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/console/src/main.js b/console/src/main.js index e9c212ac5c..645fcd4780 100644 --- a/console/src/main.js +++ b/console/src/main.js @@ -16,8 +16,6 @@ var ProcessGroupStates = hfprocess.ProcessGroupStates; const ipcMain = electron.ipcMain; -var tray = null; - var path = require('path'); var TRAY_ICON = path.join(__dirname, '../resources/console-tray.png'); @@ -77,6 +75,7 @@ function startInterface(url) { pInterface.start(); } +var tray = null; var homeServer = null; const GO_HOME_INDEX = 0;