electron-window-manager
electron-window-manager copied to clipboard
save the window state
to save the window state when restart
Can you elaborate a bit? Do you mean open in same position and size?
yeah.like this
May be can provide some options on createNew(...)
or open(...)
,so we don't need to use another lib.
That looks pretty cool. Can you do it?
We've accomplished this in our project by listening for BrowserWindow
events and updating a "LastUsedConfiguration" when those events fire: move, resize, etc.
When the app starts up, it uses that config to restore the previous window state.