From 76404852978ff91e5e4f6162ef7d377246efebef Mon Sep 17 00:00:00 2001 From: Jeremiah Russell Date: Thu, 2 Oct 2025 13:44:53 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(credential):=20fix=20the=20c?= =?UTF-8?q?onfig=20directory?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - fix the config directory to `.cull-gmail` instead of `.config` --- src/credential.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/credential.rs b/src/credential.rs index e02df66..e3eb787 100644 --- a/src/credential.rs +++ b/src/credential.rs @@ -25,7 +25,7 @@ impl Credential { pub fn load_json_file(path: &str) -> Self { let home_dir = env::home_dir().unwrap(); - let path = PathBuf::new().join(home_dir).join(".config").join(path); + let path = PathBuf::new().join(home_dir).join(".cull-gmail").join(path); let json_str = fs::read_to_string(path).expect("could not read path"); serde_json::from_str(&json_str).expect("could not convert to struct")