Fix removed 'app' module in Electron v1.0.0
Fix removed 'app' module in Electron v1.0.0

Electron v1.0.0 was out and deprecated modules are removed.
I fixed requiring deprecated module.

https://github.com/electron/electron/pull/5373

mawie81/electron-window-state