Also upload product name, company name and version in crash report.
This commit is contained in:
parent
1fc9ef33db
commit
151b2b5ad5
3 changed files with 13 additions and 1 deletions
|
@ -12,6 +12,14 @@ class CrashReporter
|
|||
ignoreSystemCrashHandler ?= false
|
||||
extra ?= {}
|
||||
|
||||
extra._productName ?= productName
|
||||
extra._companyName ?= companyName
|
||||
extra._version ?=
|
||||
if process.__atom_type is 'browser'
|
||||
require('app').getVersion()
|
||||
else
|
||||
require('remote').require('app').getVersion()
|
||||
|
||||
start = -> binding.start productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler, extra
|
||||
|
||||
if process.platform is 'darwin'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue