Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/crates/bevy_platform/src/dirs/macos.rs
30636 views
1
use std::{env::home_dir, path::PathBuf};
2
3
/// Returns the path to the directory used for application settings.
4
pub fn preferences_dir() -> Option<PathBuf> {
5
home_dir().map(|home| home.join("Library/Preferences"))
6
}
7
8