MCPcopy Create free account
hub / github.com/FlashpointProject/launcher / maximize

Function maximize

src/main/MainWindowPreload.ts:31–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29 },
30
31 maximize() {
32 const currentWindow = remote.getCurrentWindow();
33 if (currentWindow.isMaximized()) {
34 currentWindow.unmaximize();
35 } else {
36 currentWindow.maximize();
37 }
38 },
39
40 close() {
41 const currentWindow = remote.getCurrentWindow();

Callers

nothing calls this directly

Calls 1

maximizeMethod · 0.80

Tested by

no test coverage detected