mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-14 02:31:27 +03:00
fix config path in windows
This commit is contained in:
committed by
Ferdinand Schober
parent
52c4e1cd7f
commit
44e34918bb
@@ -284,7 +284,7 @@ impl Config {
|
|||||||
let config_path = {
|
let config_path = {
|
||||||
let app_data =
|
let app_data =
|
||||||
env::var("LOCALAPPDATA").unwrap_or(format!("{}/.config", env::var("USERPROFILE")?));
|
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);
|
let config_path = PathBuf::from(config_path);
|
||||||
|
|||||||
Reference in New Issue
Block a user