diff --git a/src/patchBrowserWindow.ts b/src/patchBrowserWindow.ts index 2e4849a..02b0bff 100644 --- a/src/patchBrowserWindow.ts +++ b/src/patchBrowserWindow.ts @@ -32,7 +32,7 @@ const electronProxy = new Proxy(electron, { // Put the location and the original preload in a place the main IPC can easily reach. // @ts-ignore window.webContents.kernelWindowData = { - originalPreload: originalPreload + originalPreload: originalPreload, windowOptions: options };