Skip to content

Storing application data #5557

Answered by FabianLars
ghost asked this question in Q&A
Nov 5, 2022 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

Is $CONFIG directory the best option for this simple case?

Yes. We also have this: https://tauri.app/v1/api/js/path/#appdir (also available in rust) to get the path to an app specific directory in the config dir. This is our general recommendation to store stuff, but the next tauri release will have similar convenience functions for the other base dirs, for example appDataDir for non-config data

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@escritorio-gustavo
Comment options

@arsalanmohseni
Comment options

@FabianLars
Comment options

@arsalanmohseni
Comment options

@FabianLars
Comment options

Answer selected
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants