Fix globals.json loading when using AppData directory
This commit is contained in:
parent
84984f2da6
commit
dfffe1612e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ lazy_static! {
|
||||||
std::fs::write(&env, DEFAULT_GLOBALS).unwrap();
|
std::fs::write(&env, DEFAULT_GLOBALS).unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
DEFAULT_GLOBALS.to_string()
|
std::fs::read_to_string(&env).unwrap()
|
||||||
};
|
};
|
||||||
|
|
||||||
from_str(&data).unwrap()
|
from_str(&data).unwrap()
|
||||||
|
|
Loading…
Reference in a new issue