feature: remove rewind window from recording

This commit is contained in:
alikia2x (寒寒) 2025-01-01 16:49:32 +08:00
parent d4f14b97b0
commit 408778b8b9
Signed by: alikia2x
GPG Key ID: 56209E0CCD8420C6
2 changed files with 5 additions and 5 deletions

View File

@ -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", () => {

4
src/global.d.ts vendored
View File

@ -9,10 +9,6 @@ interface Window {
electron: {
getScreenshot: () => Promise<string>;
};
api: {
send: (channel: any, data: any) => void;
receive: (channel: any, func: any) => void;
};
settingsWindow: {
close: () => void;
};