Directories for database file, backups and logs are defined in configuration file now
This commit is contained in:
parent
18e4f846fb
commit
b4411ae892
6 changed files with 118 additions and 44 deletions
|
|
@ -11,10 +11,6 @@ pub const FILE_CONF: &str = "conf.ron";
|
|||
/// it's located in the current directory.
|
||||
pub const TRANSLATION_FILE: &str = "translation.ron";
|
||||
|
||||
/// Directory where the database is stored.
|
||||
/// It's located in the current directory.
|
||||
pub const DB_DIRECTORY: &str = "data";
|
||||
|
||||
/// Filename of the database.
|
||||
/// It's located in the `DB_DIRECTORY` directory.
|
||||
pub const DB_FILENAME: &str = "recipes.sqlite";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue