A photo manager for VRChat.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 2a27e1a211a5653c5f923533d5f9c1bf746bb9bb 17 lines 363 B view raw
1use std::fs; 2 3#[tauri::command] 4pub fn change_final_path(new_path: &str) { 5 let config_path = dirs::config_dir() 6 .unwrap() 7 .join("PhazeDev/VRChatPhotoManager/.photos_path"); 8 9 fs::write(&config_path, new_path.as_bytes()).unwrap(); 10 11 match fs::metadata(&new_path) { 12 Ok(_) => {} 13 Err(_) => { 14 fs::create_dir(&new_path).unwrap(); 15 } 16 }; 17}