win conf fix x3

This commit is contained in:
MeexReay 2025-04-16 20:50:00 +03:00
parent e5e3dfe098
commit 701591e5be

View File

@ -143,7 +143,7 @@ pub fn get_config_path() -> PathBuf {
if let Some(dir) = { if let Some(dir) = {
env::var("APPDATA") env::var("APPDATA")
.ok() .ok()
.and_then(|o| Some(PathBuf::from_str(&o)?.join("bRAC"))) .and_then(|o| Some(PathBuf::from_str(&o).ok()?.join("bRAC")))
} { } {
config_dir = dir; config_dir = dir;
} }