From b1970e82af7518807d65149adb9f4a69df787fed Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Fri, 6 Aug 2021 01:49:57 +0200 Subject: [PATCH] do not start crashReporter when appCenter isn't configured (#787) --- patches/crash-reporter.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/crash-reporter.patch diff --git a/patches/crash-reporter.patch b/patches/crash-reporter.patch new file mode 100644 index 0000000..d86a90b --- /dev/null +++ b/patches/crash-reporter.patch @@ -0,0 +1,13 @@ +diff --git a/src/main.js b/src/main.js +index 19dde20..d9611f2 100644 +--- a/src/main.js ++++ b/src/main.js +@@ -409,6 +409,8 @@ function configureCrashReporter() { + argv.splice(endOfArgsMarkerIndex, 0, '--crash-reporter-id', crashReporterId); + } + } ++ } else { ++ return; + } + } +