#How `app_data_dir` is used in rust
4 messages · Page 1 of 1 (latest)
If you have a reference to app: AppHandle<Runtime> then you can do app.path().app_data_dir().unwrap()
Config::default() creates a config with all values set to their defaults; the app identifier in that config is an empty string. Your app identifier is skipped when being joined with the rest of the path because it's not valid to have an empty file or directory name in a path.