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,
|
roundedCorners: false,
|
||||||
transparent: true,
|
transparent: true,
|
||||||
show: false
|
show: false,
|
||||||
|
title: "OpenRewind Rewind Page"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
// Exclude the window from the recording
|
||||||
|
window.setContentProtection(true);
|
||||||
|
|
||||||
windowState.manage(window);
|
windowState.manage(window);
|
||||||
|
|
||||||
window.on("close", () => {
|
window.on("close", () => {
|
||||||
|
4
src/global.d.ts
vendored
4
src/global.d.ts
vendored
@ -9,10 +9,6 @@ interface Window {
|
|||||||
electron: {
|
electron: {
|
||||||
getScreenshot: () => Promise<string>;
|
getScreenshot: () => Promise<string>;
|
||||||
};
|
};
|
||||||
api: {
|
|
||||||
send: (channel: any, data: any) => void;
|
|
||||||
receive: (channel: any, func: any) => void;
|
|
||||||
};
|
|
||||||
settingsWindow: {
|
settingsWindow: {
|
||||||
close: () => void;
|
close: () => void;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user