From dc73661678f87de79259c90d2708d984fffb7e9d Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 3 Jan 2025 14:57:32 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=94=AF=E6=8C=81=20mermaid=20?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E6=8C=89=E9=92=AE=E6=94=BE=E5=A4=A7=E7=BC=A9?= =?UTF-8?q?=E5=B0=8F=E4=BB=A5=E5=8F=8A=E9=BC=A0=E6=A0=87=E6=BB=91=E8=BD=AE?= =?UTF-8?q?=E6=94=BE=E5=A4=A7=E7=BC=A9=E5=B0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/services/WindowService.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/services/WindowService.ts b/src/main/services/WindowService.ts index 9b61682e..7a427658 100644 --- a/src/main/services/WindowService.ts +++ b/src/main/services/WindowService.ts @@ -185,7 +185,6 @@ export class WindowService { private loadMainWindowContent(mainWindow: BrowserWindow) { if (is.dev && process.env['ELECTRON_RENDERER_URL']) { mainWindow.loadURL(process.env['ELECTRON_RENDERER_URL']) - mainWindow.webContents.openDevTools() } else { mainWindow.loadFile(join(__dirname, '../renderer/index.html')) }