display setup errors

This commit is contained in:
jfmonty2 committed 2023-04-30 10:52:46 -07:00
1 parent 913148a75a
commit 871dedf0a3
5 files changed
+41 -14

No files matched your search

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