diff --git a/src/electron/createWindow.ts b/src/electron/createWindow.ts index 4ec7944..b78c875 100644 --- a/src/electron/createWindow.ts +++ b/src/electron/createWindow.ts @@ -98,9 +98,13 @@ export function createMainWindow(vitePort: string, closeCallBack: () => void) { }, roundedCorners: false, transparent: true, - show: false + show: false, + title: "OpenRewind Rewind Page" }); + // Exclude the window from the recording + window.setContentProtection(true); + windowState.manage(window); window.on("close", () => { diff --git a/src/global.d.ts b/src/global.d.ts index a3c0fd5..c6e1b32 100644 --- a/src/global.d.ts +++ b/src/global.d.ts @@ -9,10 +9,6 @@ interface Window { electron: { getScreenshot: () => Promise; }; - api: { - send: (channel: any, data: any) => void; - receive: (channel: any, func: any) => void; - }; settingsWindow: { close: () => void; };