How to Reset Application Data in Electron

Akash
How to electron
Published in
Sep 6, 2017

--

This is how you can delete all the application data (config files, caches, preferences, settings and other garbage files) -

The above code clears all the application data and relaunches the app.

If you just want to clear the app caches -

The full implementation here.

If you have enjoyed this article and would like to buy me a coffee ☕️ follow this 👇

Buy Akash Nimare a coffee

--

--