mirror of
https://github.com/getbible/app.git
synced 2024-05-30 09:30:47 +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) {
|
if (process.env.WEBPACK_DEV_SERVER_URL) {
|
||||||
// Load the url of the dev server if in development mode
|
// Load the url of the dev server if in development mode
|
||||||
win.loadURL(process.env.WEBPACK_DEV_SERVER_URL)
|
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 {
|
} else {
|
||||||
createProtocol('app')
|
createProtocol('app')
|
||||||
// Load the index.html when not in development
|
// Load the index.html when not in development
|
||||||
|
|
Loading…
Reference in New Issue
Block a user