From: Cheng Zhao Date: Sun, 24 Nov 2013 15:17:48 +0000 (+0800) Subject: Use "Atom-Shell" instead of "atom-shell" for product names. X-Git-Tag: v0.7.0~1^2~12 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=59f586ba59945e2ea1275748575ad45745ce526b;p=electron.git Use "Atom-Shell" instead of "atom-shell" for product names. --- diff --git a/atom.gyp b/atom.gyp index 4bb0dfce..d0aaefa1 100644 --- a/atom.gyp +++ b/atom.gyp @@ -420,7 +420,7 @@ 'tools/mac/generate_breakpad_symbols.py', '--build-dir=<(PRODUCT_DIR)', '--binary=<(PRODUCT_DIR)/<(product_name).app/Contents/MacOS/<(product_name)', - '--symbols-dir=<(PRODUCT_DIR)/atom-shell.breakpad.syms', + '--symbols-dir=<(PRODUCT_DIR)/Atom-Shell.breakpad.syms', '--clear', '--jobs=16', ], diff --git a/common/crash_reporter/crash_reporter_mac.mm b/common/crash_reporter/crash_reporter_mac.mm index f3ab45d6..dac77e79 100644 --- a/common/crash_reporter/crash_reporter_mac.mm +++ b/common/crash_reporter/crash_reporter_mac.mm @@ -31,7 +31,7 @@ void CrashReporterMac::InitBreakpad(const std::string& product_name, NSMutableDictionary* parameters = [NSMutableDictionary dictionaryWithCapacity:4]; - [parameters setValue:@"atom-shell" + [parameters setValue:@"Atom-Shell" forKey:@BREAKPAD_PRODUCT]; [parameters setValue:base::SysUTF8ToNSString(product_name) forKey:@BREAKPAD_PRODUCT_DISPLAY]; diff --git a/common/crash_reporter/crash_reporter_win.cc b/common/crash_reporter/crash_reporter_win.cc index 39837ecf..e62986b0 100644 --- a/common/crash_reporter/crash_reporter_win.cc +++ b/common/crash_reporter/crash_reporter_win.cc @@ -100,7 +100,7 @@ google_breakpad::CustomClientInfo* CrashReporterWin::GetCustomInfo( custom_info_entries_.reserve(2 + upload_parameters_.size()); custom_info_entries_.push_back(google_breakpad::CustomInfoEntry( - L"prod", UTF8ToWide(product_name).c_str())); + L"prod", L"Atom-Shell")); custom_info_entries_.push_back(google_breakpad::CustomInfoEntry( L"ver", UTF8ToWide(version).c_str())); diff --git a/spec/fixtures/api/crash.html b/spec/fixtures/api/crash.html index 8933288a..b0c3664b 100644 --- a/spec/fixtures/api/crash.html +++ b/spec/fixtures/api/crash.html @@ -3,6 +3,7 @@