From 878b15c2886775c8734343ae9b3a7442981a4cfb Mon Sep 17 00:00:00 2001 From: lilia Date: Wed, 19 Apr 2017 15:35:39 -0700 Subject: [PATCH] Add node version to debug log The chrome, electron, and signal versions are already included in the user agent string. // FREEBIE --- js/debugLog.js | 2 +- main.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/js/debugLog.js b/js/debugLog.js index 1100e3f19d..3fc28454bc 100644 --- a/js/debugLog.js +++ b/js/debugLog.js @@ -57,7 +57,7 @@ }; console.get = function() { return window.navigator.userAgent + - ' Signal-Desktop/' + window.config.version + + ' node/' + window.config.node_version + '\n' + log.print(); }; console.post = function(log) { diff --git a/main.js b/main.js index b1d740cce0..56d84e77d5 100644 --- a/main.js +++ b/main.js @@ -95,7 +95,8 @@ function createWindow () { version: package_json.version, buildExpiration: config.get('buildExpiration'), serverUrl: config.get('serverUrl'), - environment: environment + environment: environment, + node_version: process.versions.node } }))