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

This commit is contained in:
Baptiste Augrain 2021-08-06 01:49:57 +02:00 committed by GitHub
parent 23160ad483
commit b1970e82af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
}