save empty manifest directly after prompting to create one
This commit is contained in:
parent
b941415715
commit
bb6c733999
1 changed files with 1 additions and 0 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue