From 44e34918bbdefb5c4fc3f41170cfcc43182a7089 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Tue, 1 Oct 2024 13:46:23 +0200 Subject: [PATCH] fix config path in windows --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.rs b/src/config.rs index 242b78a..b94b3a5 100644 --- a/src/config.rs +++ b/src/config.rs @@ -284,7 +284,7 @@ impl Config { let config_path = { let app_data = env::var("LOCALAPPDATA").unwrap_or(format!("{}/.config", env::var("USERPROFILE")?)); - format!("{app_data}\\lan-mouse\\{config_file}") + format!("{app_data}\\lan-mouse\\") }; let config_path = PathBuf::from(config_path);