mirror of
https://github.com/creating2morrow/neveko.git
synced 2025-01-04 01:49:30 +00:00
fix lmdb path
This commit is contained in:
parent
01a629d46b
commit
a8517fcade
1 changed files with 3 additions and 2 deletions
|
@ -29,8 +29,9 @@ impl Interface {
|
|||
pub fn open() -> Self {
|
||||
let release_env = utils::get_release_env();
|
||||
let file_path = format!(
|
||||
"/home/{}/.neveko/",
|
||||
std::env::var("USER").unwrap_or(String::from("user"))
|
||||
"/home/{}/.{}/",
|
||||
std::env::var("USER").unwrap_or(String::from("user")),
|
||||
crate::APP_NAME,
|
||||
);
|
||||
let mut env_str: &str = "test-lmdb";
|
||||
if release_env != utils::ReleaseEnvironment::Development {
|
||||
|
|
Loading…
Reference in a new issue