"Add temporary code to test for interface paths""

This commit is contained in:
Roxanne Skelly 2018-09-28 14:52:50 -07:00
parent 42cdf24f5b
commit edd354d109

View file

@ -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);
});