title: Electron - How to detect maximize event?
body: <p>I want to change maximize icon when the window is maximized.</p>
  <p>How can i detect when the window maximized by double click on the title bar or by moving the window top of the screen.</p>
  <p>Without running isMaximized() constantly.</p>