fix: change config dir on windows
This commit is contained in:
parent
6ffdb55479
commit
2bacc48e17
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ fn get_config_path() -> PathBuf {
|
|||
if cfg!(target_os = "windows") {
|
||||
let username = env::var("USERNAME").unwrap_or_else(|_| "Default".to_string());
|
||||
PathBuf::from(format!(
|
||||
"C:\\Users\\{}\\AppData\\Local\\filesorters\\filesorters.toml",
|
||||
"C:\\Users\\{}\\AppData\\Local\\filesorters.toml",
|
||||
username
|
||||
))
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue