Closed webby-the-dev closed 2 years ago
This would be a question for the Electron project. This package just uses https://electronjs.org/docs/api/app#appgetpathname
For all the people interested in, when you run electron in development mode all data is stored in Electron
folder. If you build your project all data is stored in the name that you define when creating store.
If I build electron app and use it it stores data in correct folder which is (on Mac)
~/Library/Application Support/AppName/config.json
.But when I use it in dev mode by running
yarn start
it also stores data somewhere but it is not the same folder because it does not update after changing some data even though I update it. Is there a different folder where it is stored for dev mode and after build or should it be the same one?