diff --git a/src/main.rs b/src/main.rs index a24406e..9ac99bc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -56,6 +56,9 @@ async fn async_main() { .await .expect("Failed to sign in"); println!("Signed in"); + if let Err(err) = tclient.session().save_to_file("autoytarchivers.session") { + eprintln!("Failed to save session: {:?}", err); + } } { let tclient = tclient.clone();