git.lucas.co / cce-mail
mail client (IMAP/SMTP)
git clone https://git.lucas.co/cce-mail.git

commitba6d89b63401040ab93d47e09b212d471adbb02c
parent9d1b423476
authorLucas Galante <[email protected]>
date2026-06-04 13:22
Proactively generate google_client.json template on application startup

 src/main.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/main.rs b/src/main.rs
index 517e10e..2635a30 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -150,6 +150,7 @@ fn get_accounts_path() -> std::path::PathBuf {
 }
 
 fn load_accounts() -> Vec<AccountInfo> {
+    let _ = load_google_client_config();
     let path = get_accounts_path();
     if path.exists() {
         if let Ok(content) = std::fs::read_to_string(&path) {