Reputation: 1484
I have an electron app where users "upload" (everything is stored locally on the users computer) thousands or more textfiles. These may exceed a couple of Gb in total. These are then suppose to be processed and put into a sqlite database that may also exceed a Gb, this sqlite database will then be used repeatedly make complex queries in the app.
I would like to know where is most appropriate to store the database and text files (if an update requires reprocessing), when searching for an answer I came across mostly app.getPath('userData')
that is used to store configuration data. But per the documentation https://www.electronjs.org/docs/latest/api/app#appgetapppath it is not recommended for larger files because of backups. So then is it better to store it in something like app.getAppPath()
or somewhere else?
Upvotes: 0
Views: 47