electron-window-manager
electron-window-manager copied to clipboard
bugfix:Unmaximizes the window
https://electronjs.org/docs/api/browser-window Unmaximizes the window should call unmaximize() instead of restore().
Hey, first of all thanks! I agree its confusing, but the api doesn't mirror the electron api exactly. If you check the readme it does what it says:
Maximizes the window. Restores if already maximized.
Since this changes the api, i wont merge it, but ill gladly add a version which adds the unmaximize() method and leaves the logic of maximize() according to the readme.