remove webContents.openDevTools()

This commit is contained in:
草鞋没号 2022-04-26 08:40:05 +08:00 committed by GitHub
parent 52e3d0d6f7
commit 298c1c18d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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