mirror of
https://github.com/MeexReay/bRAC.git
synced 2025-06-24 19:02:58 +03:00
win conf fix x3
This commit is contained in:
parent
e5e3dfe098
commit
701591e5be
@ -143,7 +143,7 @@ pub fn get_config_path() -> PathBuf {
|
|||||||
if let Some(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).ok()?.join("bRAC")))
|
||||||
} {
|
} {
|
||||||
config_dir = dir;
|
config_dir = dir;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user