mirror of
https://github.com/creating2morrow/neveko.git
synced 2025-01-06 02:49:39 +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 {
|
pub fn open() -> Self {
|
||||||
let release_env = utils::get_release_env();
|
let release_env = utils::get_release_env();
|
||||||
let file_path = format!(
|
let file_path = format!(
|
||||||
"/home/{}/.neveko/",
|
"/home/{}/.{}/",
|
||||||
std::env::var("USER").unwrap_or(String::from("user"))
|
std::env::var("USER").unwrap_or(String::from("user")),
|
||||||
|
crate::APP_NAME,
|
||||||
);
|
);
|
||||||
let mut env_str: &str = "test-lmdb";
|
let mut env_str: &str = "test-lmdb";
|
||||||
if release_env != utils::ReleaseEnvironment::Development {
|
if release_env != utils::ReleaseEnvironment::Development {
|
||||||
|
|
Loading…
Reference in a new issue