Enable devtools for beta users
This commit is contained in:
parent
6883e199ae
commit
b7bdfef0c6
1 changed files with 2 additions and 1 deletions
3
main.js
3
main.js
|
@ -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() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue