mirror of
https://github.com/getbible/app.git
synced 2024-12-22 15:58:55 +00:00
disabled openning dev tools on start up, in dev mode
This commit is contained in:
parent
3fe9f3d53a
commit
9472e7d42b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user