A photo manager for VRChat.
1use tauri::State;
2
3use crate::util::cache::Cache;
4
5// Check if the photo config file exists
6// if not just return the default vrchat path
7#[tauri::command]
8pub fn get_user_photos_path( cache: State<Cache> ) -> String {
9 let photo_path = cache.get("photo-path".into());
10 photo_path.unwrap()
11}