From b9a0443489c21dfcc1a9a26286f68aead4ff3727 Mon Sep 17 00:00:00 2001 From: Strencher <46447572+Strencher@users.noreply.github.com> Date: Fri, 26 Nov 2021 21:00:57 +0100 Subject: [PATCH] Remove openDevTools() --- src/patchBrowserWindow.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/patchBrowserWindow.ts b/src/patchBrowserWindow.ts index 926a1e7..5d02ac3 100644 --- a/src/patchBrowserWindow.ts +++ b/src/patchBrowserWindow.ts @@ -36,8 +36,6 @@ const electronProxy = new Proxy(electron, { windowOptions: options, }; - window.webContents.openDevTools(); - return window; }, });