mirror of
https://github.com/heyman/heynote.git
synced 2024-11-22 16:03:28 +01:00
Don't auto open developer tools
This commit is contained in:
parent
a8bbc8a9a0
commit
d1b61ce899
@ -58,9 +58,10 @@ async function createWindow() {
|
||||
if (process.env.VITE_DEV_SERVER_URL) { // electron-vite-vue#298
|
||||
win.loadURL(url)
|
||||
// Open devTool if the app is not packaged
|
||||
win.webContents.openDevTools()
|
||||
//win.webContents.openDevTools()
|
||||
} else {
|
||||
win.loadFile(indexHtml)
|
||||
//win.webContents.openDevTools()
|
||||
}
|
||||
|
||||
// Test actively push message to the Electron-Renderer
|
||||
|
Loading…
Reference in New Issue
Block a user