4
2
mirror of https://github.com/getbible/app.git synced 2024-11-16 01:57:14 +00:00

disabled openning dev tools on start up, in dev mode

This commit is contained in:
Erastus Amunwe 2020-11-02 09:44:03 +02:00
parent 3fe9f3d53a
commit 9472e7d42b

View File

@ -30,7 +30,7 @@ function createWindow() {
if (process.env.WEBPACK_DEV_SERVER_URL) {
// Load the url of the dev server if in development mode
win.loadURL(process.env.WEBPACK_DEV_SERVER_URL)
if (!process.env.IS_TEST) win.webContents.openDevTools()
// if (!process.env.IS_TEST) win.webContents.openDevTools()
} else {
createProtocol('app')
// Load the index.html when not in development