title: Why does my Electron app lag after building?
body: <p>I have an electron app that works perfectly well when I run it with "npm start". This is my start script:</p>
  
  <pre><code>electron .
  </code></pre>
  
  <p>The problem for me is that when I build the program with electron-packager, it behaves abnormally and lags. My build script is below:</p>
  
  <pre><code>electron-packager . --overwrite --platform=darwin --arch=x64 --prune=true --out=
  release-builds
  </code></pre>
  
  <p>I'm not really sure what's causing the slow behavior in my app. Additionally my app uses WebGL, so I was unable to use the "disableHardwareAcceleration()" command. I'm just confused in general as to why my app functions normally with "npm start", but then lags when I build it into an actual application.</p>
  
  <p>Thank you for any help in advance!</p>