title: How to get the temp unpack directory of a Node-Webkit application?
body: <p>Using,</p>
  
  <pre><code>var nwPath = process.execPath;
  var nwDir = path.dirname(nwPath);
  console.log(nwDir);
  </code></pre>
  
  <p>in a Node-Webkit application would give me something like:</p>
  
  <pre><code>C:\Users\USERNAME\AppData\Local\Temp
  </code></pre>
  
  <p>What would give me the directory from within the Node-Webkit application runs the html files from?</p>
  
  <p>Like,</p>
  
  <pre><code>C:/Users/USERNAME/AppData/Local/Temp/nw6860_18341/
  </code></pre>