Hi,
I defined my store as const store = new Store({ name: 'MyAppName' });.
When I run my app by yarn start and save any data to store it is not saved into ~/Library/Application Support/MyAppName. It works only when I package app and run executable file.
So my question is where is this data stored on my Mac? Looks like it is different folder for development and different after packaging app into executable file.
If I log app.getPath('appData') for both I see ~/Library/Application Support/MyAppName but I have different data after running yarn start and different after yarn package and running executable file.
Hi, I defined my store as
const store = new Store({ name: 'MyAppName' });
.When I run my app by
yarn start
and save any data to store it is not saved into~/Library/Application Support/MyAppName
. It works only when I package app and run executable file.So my question is where is this data stored on my Mac? Looks like it is different folder for development and different after packaging app into executable file.
If I log
app.getPath('appData')
for both I see~/Library/Application Support/MyAppName
but I have different data after runningyarn start
and different afteryarn package
and running executable file.