My electron app was just distributed to the Mac App Store and can be successfully installed.
However, when I delete the app from the launchpad, I find out that the folder in the file path "~/Library/Containers/my_app_name/" is also been deleted.
My goal is to preserve the data when users delete the app, so that users can keep on using when they reinstall the app. But I cannot find out a solution.
I'm asking how can app remain its data when it is deleted?
Is there any idea or guide information?
Thanks!
However, when I delete the app from the launchpad, I find out that the folder in the file path "~/Library/Containers/my_app_name/" is also been deleted.
My goal is to preserve the data when users delete the app, so that users can keep on using when they reinstall the app. But I cannot find out a solution.
I'm asking how can app remain its data when it is deleted?
Is there any idea or guide information?
Thanks!