mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-04-23 11:27:58 +08:00
Also upload product name, company name and version in crash report.
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user