plugins-workspace icon indicating copy to clipboard operation
plugins-workspace copied to clipboard

[sql] SQLite file is stored on `app_config_dir`, not `app_data_dir`

Open phucvinh57 opened this issue 2 years ago • 2 comments

Regarding this implementation, SQLite file is not saved in app_data_dir as described by the usage

Is it a mistake or an intention?

image image image

phucvinh57 avatar Jun 26 '24 14:06 phucvinh57

The docs are saying BaseDirectory::App, not BaseDirectory::AppData - App was removed in v2 so here are the v1 docs: https://docs.rs/tauri/latest/tauri/api/path/enum.BaseDirectory.html#variant.App - In v1 this indeed was the same as AppConfig, so everything is working as expected, we just need to update the basedir in the docs, thanks for bringing that to our intention.

FabianLars avatar Jun 26 '24 15:06 FabianLars

The docs update is now live. thx again

FabianLars avatar Jun 26 '24 15:06 FabianLars