<!DOCTYPE html>
<html>
  <head>
    <title>test shim</title>
  </head>

  <body>
    for testing only!

    <button id="prefs">Preferences</button>
  </body>
  
  <script>
   const {ipcRenderer} = window.require("electron");
   var openPrefs = function() {
     ipcRenderer.send("open-prefs");
   };

   var button = document.querySelector("#prefs");
   button.addEventListener("click", openPrefs, false);



  </script>
</html>

Add simple window for test mode
Add simple window for test mode

This will open up when running in test mode -- otherwise we basically
can't use spectron since it requires a window to open when the app
loads.
