Add node version to debug log

The chrome, electron, and signal versions are already included in the
user agent string.

// FREEBIE
This commit is contained in:
lilia 2017-04-19 15:35:39 -07:00 committed by Scott Nonnenberg
parent 112f5a00ca
commit 878b15c288
No known key found for this signature in database
GPG Key ID: A4931C09644C654B
2 changed files with 3 additions and 2 deletions

View File

@ -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) {

View File

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