From edd354d109551b84e3aef190b6bd75ec8e8e4762 Mon Sep 17 00:00:00 2001 From: Roxanne Skelly Date: Fri, 28 Sep 2018 14:52:50 -0700 Subject: [PATCH] "Add temporary code to test for interface paths"" --- server-console/src/main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/server-console/src/main.js b/server-console/src/main.js index d1b3dd2dd3..f0d6ae13ae 100644 --- a/server-console/src/main.js +++ b/server-console/src/main.js @@ -892,6 +892,9 @@ function onContentLoaded() { // This method will be called when Electron has finished // initialization and is ready to create browser windows. app.on('ready', function() { + var paths = pathFinder.searchPaths("interface", binaryType, buildInfo.releaseType); + dialog.showMessageBox({type: 'question', buttons: ['Yes', 'No'], title: "Paths", message: paths.join(", ")}, function () {}); + if (app.dock) { // hide the dock icon on OS X @@ -909,4 +912,5 @@ app.on('ready', function() { updateTrayMenu(ProcessGroupStates.STOPPED); maybeInstallDefaultContentSet(onContentLoaded); + });