Enable devtools for beta users

This commit is contained in:
Evan Hahn 2021-06-24 12:20:31 -05:00 committed by GitHub
parent 6883e199ae
commit b7bdfef0c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,7 +137,8 @@ let appStartInitialSpellcheckSetting = true;
const defaultWebPrefs = { const defaultWebPrefs = {
devTools: devTools:
process.argv.some(arg => arg === '--enable-dev-tools') || process.argv.some(arg => arg === '--enable-dev-tools') ||
config.environment !== Environment.Production, config.environment !== Environment.Production ||
isBeta(app.getVersion()),
}; };
async function getSpellCheckSetting() { async function getSpellCheckSetting() {