config_io: Support wayvr.conf.d directory, refactoring (#139)
This commit is contained in:
+2
-2
@@ -146,8 +146,8 @@ pub struct AppSession {
|
||||
|
||||
impl AppSession {
|
||||
pub fn load() -> Self {
|
||||
let config_root_path = config_io::ensure_config_root();
|
||||
log::info!("Config root path: {}", config_root_path.to_string_lossy());
|
||||
let config_root_path = config_io::ConfigRoot::Generic.ensure_dir();
|
||||
log::info!("Config root path: {:?}", config_root_path);
|
||||
let config = GeneralConfig::load_from_disk();
|
||||
|
||||
let mut toast_topics = IdMap::new();
|
||||
|
||||
Reference in New Issue
Block a user