Skip to content

Commit

Permalink
disable devtools for production release
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Merskin committed Jul 19, 2017
1 parent ae49b2e commit 0f22788
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ function createWindow () {
mainWindow.webContents.on('will-navigate', event => {
event.preventDefault()
})

// Toggle DevTools for debugging in production...
//
// mainWindow.webContents.openDevTools()
}

app.on('will-finish-launching', () => {
Expand Down

0 comments on commit 0f22788

Please sign in to comment.