title: How do I save image locally in electron app
body: <p>I am building a electron app with <a href="https://github.com/nklayman/vue-cli-plugin-electron-builder" rel="nofollow noreferrer">vue-cli-electron-builder</a>.</p>
  
  <p>User submits form with name, email and image(photo) which is stored in local mysql database and later on it will be synchronize to cloud.
  Only image name will be stored in the database, the problem is </p>
  
  <ul>
  <li>where and how do I save the actual image locally ?  </li>
  <li>how do i synchronize image to cloud ?</li>
  </ul>
  
  <p>In development mode it was stored inside the project but production bundled app doesn't work like that.</p>
  
  <blockquote>
    <p>I tried multer.diskStorage to save image to './server/uploads'. It works in development mode but in production it doesn't work.</p>
  </blockquote>