Try to keep as much of the same state as possible when the display changes
Try to keep as much of the same state as possible when the display changes

If the user launches the app on a different screen, try to keep all
their state if possible, clamping it as needed.

mawie81/electron-window-state