mirror of
https://github.com/MeexReay/bRAC.git
synced 2025-05-06 05:28:02 +03:00
use std::env for windows
This commit is contained in:
parent
8f539713f6
commit
ba54300e6c
@ -58,6 +58,7 @@ pub fn get_config_path() -> PathBuf {
|
||||
|
||||
#[cfg(target_os = "windows")]
|
||||
if let Some(dir) = {
|
||||
use std::env;
|
||||
env::var("APPDATA")
|
||||
.ok()
|
||||
.and_then(|o| Some(PathBuf::from_str(&o).ok()?.join("bRAC")))
|
||||
|
Loading…
Reference in New Issue
Block a user