Skip to content

Not show dev tools on each run? #1400

Answered by nklayman
skythomp16 asked this question in Q&A
Discussion options

You must be logged in to vote

Remove this line from your src/background.js file:

if (!process.env.IS_TEST) win.webContents.openDevTools()

The dist_electron/index.js is generated by webpack using the src/background.js file as the entry.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nklayman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants