-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Describe the problem
I am building an application using Tauri in which I would like to store some data in a file on the hard drive, so I was looking into the fs module. For available paths I have found this documentation. I feel like the correct path for storing my data on a linux system would be the dataDir path. However, this path only contains the path to the folder, without a folder for the application itself as in appDir, therefore I have to handle that on my own, which is a tedious task. Additionally I think that this is so common, that it would warrant another path preset.
Describe the solution you'd like
I would like to be able to use something like BaseDirectory.AppData, that stores data in a folder for my own application within dataDir.
Alternatives considered
No alternatives other than leaving it the way it is and handle that in the application itself come to my mind.
Additional context
No response