From 7e209dd9824915a1df0735a4f0934262127cf81d Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Tue, 24 May 2016 10:22:13 -0700 Subject: [PATCH] ATOM_SHELL_INTERNAL_CRASH_SERVICE -> ELECTRON_INTERNAL_CRASH_SERVICE --- atom/app/atom_main.cc | 2 +- lib/common/api/crash-reporter.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/atom/app/atom_main.cc b/atom/app/atom_main.cc index be060ab4329a..03055e04daf5 100644 --- a/atom/app/atom_main.cc +++ b/atom/app/atom_main.cc @@ -105,7 +105,7 @@ int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd, int) { base::AtExitManager atexit_manager; base::i18n::InitializeICU(); return atom::NodeMain(argc, argv); - } else if (IsEnvSet("ATOM_SHELL_INTERNAL_CRASH_SERVICE")) { + } else if (IsEnvSet("ELECTRON_INTERNAL_CRASH_SERVICE")) { return crash_service::Main(cmd); } diff --git a/lib/common/api/crash-reporter.js b/lib/common/api/crash-reporter.js index 21e352e7e510..13d7a07ad9cf 100644 --- a/lib/common/api/crash-reporter.js +++ b/lib/common/api/crash-reporter.js @@ -55,7 +55,7 @@ var CrashReporter = (function () { if (process.platform === 'win32') { args = ['--reporter-url=' + submitURL, '--application-name=' + this.productName, '--v=1'] env = { - ATOM_SHELL_INTERNAL_CRASH_SERVICE: 1 + ELECTRON_INTERNAL_CRASH_SERVICE: 1 } spawn(process.execPath, args, { env: env,