From e5e3dfe0988af9bcf5c92c6554b9cba669861664 Mon Sep 17 00:00:00 2001 From: MeexReay Date: Wed, 16 Apr 2025 20:49:20 +0300 Subject: [PATCH] another windows config fix --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 1c8caf1..cca46b6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -140,7 +140,7 @@ pub fn get_config_path() -> PathBuf { } #[cfg(target_os = "windows")] - if let Ok(dir) = { + if let Some(dir) = { env::var("APPDATA") .ok() .and_then(|o| Some(PathBuf::from_str(&o)?.join("bRAC")))