]> khamidou — GitHub mirrors - electron.git/commitdiff
Use "Atom-Shell" instead of "atom-shell" for product names.
authorCheng Zhao <zcbenz@gmail.com>
Sun, 24 Nov 2013 15:17:48 +0000 (23:17 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Sun, 24 Nov 2013 15:17:48 +0000 (23:17 +0800)
atom.gyp
common/crash_reporter/crash_reporter_mac.mm
common/crash_reporter/crash_reporter_win.cc
spec/fixtures/api/crash.html

index 4bb0dfce9b685cdebe85eb599006a5d0092d7c32..d0aaefa1f5e3a0a888b4b429e767a154b522f1ac 100644 (file)
--- a/atom.gyp
+++ b/atom.gyp
                 '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',
               ],
index f3ab45d62ff40e77f167f34f4522dcc5b61d0ea8..dac77e79234026736ec8a454bae027ca281f3c6f 100644 (file)
@@ -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];
index 39837ecf08b9851b943185f2740e198c6c26d324..e62986b0800d601df59626373c08e24cea4d8c8d 100644 (file)
@@ -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()));
 
index 8933288a7c69ea6296be47a80daf0071a6219533..b0c3664b7024ebd40b02fdcd8522c42fedc498e7 100644 (file)
@@ -3,6 +3,7 @@
 <script type="text/javascript" charset="utf-8">
 var crashReporter = require('crash-reporter');
 crashReporter.start({
+  productName: 'Something other than Atom-Shell',
   submitUrl: 'http://127.0.0.1:1127',
   autoSubmit: true,
   ignoreSystemCrashHandler: true,