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:
parent
112f5a00ca
commit
878b15c288
2 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
3
main.js
3
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
|
||||
}
|
||||
}))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue