From: Cheng Zhao Date: Tue, 14 Apr 2015 09:37:22 +0000 (+0800) Subject: Forgot to set default version in crash reporter X-Git-Tag: v0.24.0~4^2~7 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=76316e5e65d0d74f25f6713662a894de3f78d497;p=electron.git Forgot to set default version in crash reporter --- diff --git a/atom/common/api/lib/crash-reporter.coffee b/atom/common/api/lib/crash-reporter.coffee index 12edcd6f..d87ff9ea 100644 --- a/atom/common/api/lib/crash-reporter.coffee +++ b/atom/common/api/lib/crash-reporter.coffee @@ -23,7 +23,7 @@ class CrashReporter extra._productName ?= @productName extra._companyName ?= companyName - extra._version ?= + extra._version ?= app.getVersion() start = => binding.start @productName, companyName, submitUrl, autoSubmit, ignoreSystemCrashHandler, extra