title: Electron - Open Folder Dialog
body: <p>I want the user to be able to pick a folder from the folder dialog box.<br>
  So far, I've tried following <a href="https://jaketrent.com/post/select-directory-in-electron/" rel="noreferrer">this</a> tutorial unsuccessfully.<br>
  I got stuck on the part of</p>
  
  <pre><code>exports.selectDirectory = function () {
    // dialog.showOpenDialog as before
  }
  </code></pre>
  
  <p>What do I need to do in order to retrieve the full path of the selected folder?<br>
  Thanks!</p>