Is LocalStorage and IndexedDB data saved inside as userData folder?


#1

I found the electron app created a folder named after the App name at the userData path (app.getPath(‘userData’)). As following:

Is this the place that Chromium will save and retrieve data for an Electron App? Can this data (localStorage and IndexedDB) shared between two installations? I mean, when I auto-update an app, does the late installation have access to previous data inside Chromium?

Please help, it is very important to design a data persistence strategy for the electron app.
Thanks!