diff --git a/heynote-electron/electron/main/index.ts b/heynote-electron/electron/main/index.ts index b698707..532611f 100644 --- a/heynote-electron/electron/main/index.ts +++ b/heynote-electron/electron/main/index.ts @@ -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