1 2 3 4 5 6 7
use std::path::PathBuf; use dirs::preference_dir; pub fn base_path() -> PathBuf { preference_dir().unwrap().join("tmaze") }