From d71250b75253364999e285622367b00a28a2090f Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 26 Apr 2017 14:19:10 -0700 Subject: [PATCH] More main process logging // FREEBIE --- main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 38a2dd42f5..15a0f82698 100644 --- a/main.js +++ b/main.js @@ -66,8 +66,8 @@ const config = require('config'); if (config.has('storageProfile')) { var userData = path.join(app.getPath('appData'), 'Signal-' + config.get('storageProfile')); app.setPath('userData', userData); - console.log('userData ' + userData); } +console.log('userData ' + app.getPath('userData')); // Keep a global reference of the window object, if you don't, the window will // be closed automatically when the JavaScript object is garbage collected. @@ -124,6 +124,7 @@ function createWindow () { } }); mainWindow.webContents.on('will-navigate', function(e) { + console.log('will-navigate'); e.preventDefault(); });