()
| 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(); |