function initWindowState( windowName ) { var gui = require('nw.gui'); var win = gui.Window.get(); win.show(); return; }