Enable crash reporting for all channels

This commit is contained in:
Scott Nonnenberg 2024-03-29 09:41:19 -07:00 committed by GitHub
parent aa5208ac24
commit 32223acf5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 26 deletions

View file

@ -207,13 +207,9 @@ const defaultWebPrefs = {
const DISABLE_GPU =
OS.isLinux() && !process.argv.some(arg => arg === '--enable-gpu');
const FORCE_ENABLE_CRASH_REPORTS = process.argv.some(
arg => arg === '--enable-crash-reports'
);
const CLI_LANG = cliOptions.lang as string | undefined;
setupCrashReports(getLogger, showDebugLogWindow, FORCE_ENABLE_CRASH_REPORTS);
setupCrashReports(getLogger, showDebugLogWindow);
let sendDummyKeystroke: undefined | (() => void);
if (OS.isWindows()) {