feature: remove rewind window from recording
This commit is contained in:
parent
d4f14b97b0
commit
408778b8b9
@ -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
4
src/global.d.ts
vendored
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user