Constants for Cfg filenames
1 files changed, 6 insertions(+), 0 deletions(-) M sdbclient/src/cfg/mod.rs
M sdbclient/src/cfg/mod.rs => sdbclient/src/cfg/mod.rs +6 -0
@@ 9,6 9,12 @@ use bevy::prelude::*; use serde::{Deserialize, Serialize}; // Constants for file names pub const FILE_CFG_SETTINGS: &str = "cfgsettings.json"; pub const FILE_CFG_USER: &str = "cfguser.json"; pub const FILE_CFG_HIDDEN: &str = ".cfghidden.json"; /// Stores a directories::ProjectDirs for easy access #[derive(Resource, Debug, Component, Clone)] pub struct CfgDirs(pub directories::ProjectDirs);