title: How to get permissions to create a file/directory with node fs
body: <p>When running the following in my packaged electron app:</p>
  
  <p><code>fs.mkdirSync('myNewDirectory');</code></p>
  
  <p>I keep getting <code>EACCES: permission denied, mkdir</code>. </p>
  
  <p>This doesn't happen when I'm in dev mode. It only happens after I package and run the app.</p>
  
  <p>How do I get the appropriate permissions to create a directory, or even a file, in a packaged electron app?</p>