From a8517fcaded116227fcc7a3d15ff973f6c32dbfc Mon Sep 17 00:00:00 2001 From: creating2morrow Date: Sat, 3 Jun 2023 11:22:40 -0400 Subject: [PATCH] fix lmdb path --- neveko-core/src/db.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/neveko-core/src/db.rs b/neveko-core/src/db.rs index 21a447f..fe3619a 100644 --- a/neveko-core/src/db.rs +++ b/neveko-core/src/db.rs @@ -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 {