mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-03-03 23:40:09 +08:00
remove webContents.openDevTools()
This commit is contained in:
parent
52e3d0d6f7
commit
298c1c18d0
@ -33,7 +33,7 @@ async function createWindow() {
|
|||||||
const url = `http://${process.env['VITE_DEV_SERVER_HOST']}:${process.env['VITE_DEV_SERVER_PORT']}`
|
const url = `http://${process.env['VITE_DEV_SERVER_HOST']}:${process.env['VITE_DEV_SERVER_PORT']}`
|
||||||
|
|
||||||
win.loadURL(url)
|
win.loadURL(url)
|
||||||
win.webContents.openDevTools()
|
// win.webContents.openDevTools()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Test active push message to Renderer-process
|
// Test active push message to Renderer-process
|
||||||
|
Loading…
x
Reference in New Issue
Block a user