text: // When application runs in development mode this
  // module activates convenient shortcuts for you.
  
  (function () {
    const gui = require('nw.gui');
  
    const keyDown = function (e) {
      if ((e.ctrlKey || e.metaKey) && e.keyCode == 82) {
              // CTRL (CMD) + R reloads the page
        gui.Window.get().reload();
      }
      if ((e.ctrlKey || e.metaKey) && e.shiftKey && e.keyCode == 73) {
              // CTRL (CMD) + SHIFT + I shows devtools window
        gui.Window.get().showDevTools();
      }
    };
  
    document.addEventListener('keydown', keyDown, false);
  }());
  