minor tweaks

This commit is contained in:
jfmonty2 committed 2023-04-29 10:01:45 -07:00
1 parent e746963052
commit 913148a75a
5 files changed
+29 -45

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ pub fn set_auto_launch(is_configured: bool) -> Result<(), SetupError> {
pub fn get_or_create_db_path() -> Result<PathBuf, DataDirError> {
if cfg!(debug_assertions) {
if cfg!(debug_assertions) && std::env::var("HOME").is_ok() {
return Ok(PathBuf::from("./creddy.db"));
}