Browse Source

do not start crashReporter when appCenter isn't configured (#787)

Baptiste Augrain 3 years ago
parent
commit
b1970e82af
1 changed files with 13 additions and 0 deletions
  1. 13 0
      patches/crash-reporter.patch

+ 13 - 0
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;
+ 		}
+ 	}
+