<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    <h1>Hello World!</h1>
    We are using node.js <script>document.write(process.version)</script>.
  </body>
</html>
<!DOCTYPE html>
<html>
  <head>
    <title>Hello World!</title>
  </head>
  <body>
    <h1>Hello World!</h1>
    We are using node.js <script>document.write(process.version)</script>.
  </body>
  <script type="text/javascript">
    /**
      if you have the following in package.json

      ...
      "window": {
        "show": true
      }
      ...
    
      uncomment the block below

    */

    /**
    if you only show the window after everything is loaded
    var gui = require('nw.gui');

    document.addEventListener('DOMContentLoaded', function() {

      var win = gui.Window.get();
      win.show();

    });
    */
  </script>
</html>
Add code to allow showing the window only after everything is loade
Add code to allow showing the window only after everything is loade
