working communication between renderer and main process

This commit is contained in:
talksik
2022-05-28 01:35:42 -05:00
parent 0e0a8629e0
commit 7236cbf680
2 changed files with 43 additions and 42 deletions
@@ -63,7 +63,7 @@ export function ElectronProvider({ children }: { children: React.ReactNode }) {
setIsWindowFocused(false);
// TODO: testing mode... uncomment both instructions below
setDesktopMode('overlayOnly');
// setDesktopMode('overlayOnly');
});
window.electronAPI.on(Channels.ON_WINDOW_FOCUS, () => {