mirror of
https://github.com/MeexReay/bRAC.git
synced 2025-05-07 14:08:02 +03:00
another windows config fix
This commit is contained in:
parent
e804712aa0
commit
e5e3dfe098
@ -140,7 +140,7 @@ pub fn get_config_path() -> PathBuf {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(target_os = "windows")]
|
#[cfg(target_os = "windows")]
|
||||||
if let Ok(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)?.join("bRAC")))
|
||||||
|
Loading…
Reference in New Issue
Block a user