feat: Hook in browser actions into electon's BrowserWindow

This commit is contained in:
Susmitha Girumala committed 2021-06-04 12:21:08 -04:00
1 parent 76291896c3
commit 873965d7b7
5 files changed
+58 -4

No files matched your search

+8
View File
@@ -67,6 +67,14 @@ export default function initializeMockIPC(server) {
isWindowsOS() {
return Boolean(window.navigator.userAgent.match(/(windows)/i));
}
/**
* Do nothing when attempting to minimize, toggle fullscreen,
* and close a browser window
*/
minimizeWindow() {}
closeWindow() {}
toggleFullScreenWindow() {}
}
/**