feat: Hook in browser actions into electon's BrowserWindow
This commit is contained in:
1 parent
76291896c3
commit
873965d7b7
5 files changed
+58
-4
No files matched your search
@@ -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() {}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user