From bb6c733999e197bfa9e537f410fcf42d7eb97c27 Mon Sep 17 00:00:00 2001 From: Carson McManus Date: Sun, 29 Aug 2021 20:17:17 -0400 Subject: [PATCH] save empty manifest directly after prompting to create one --- src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.rs b/src/main.rs index 6c6136c..b6dcc49 100644 --- a/src/main.rs +++ b/src/main.rs @@ -174,6 +174,7 @@ fn main() { std::fs::create_dir_all(mafiles_dir).expect("failed to create directory"); manifest = accountmanager::Manifest::new(path.as_path()); + manifest.save(&None).expect("Failed to save manifest"); } else { match accountmanager::Manifest::load(path.as_path()) { Ok(m) => {