fix: preserve instance state through launches and updates
This commit is contained in:
1 parent
3149b96971
commit
0d1cafcb10
14 files changed
+741
-94
No files matched your search
@@ -213,6 +213,8 @@ async fn install_staged(
|
||||
});
|
||||
}
|
||||
|
||||
let previous =
|
||||
ContentManifest::load(manifest_path).map_err(|error| NetError::Parse(error.to_string()))?;
|
||||
let mut committed = Vec::new();
|
||||
for (index, file) in staged.iter().enumerate() {
|
||||
let item = &plan.items[file.item];
|
||||
@@ -241,8 +243,6 @@ async fn install_staged(
|
||||
});
|
||||
}
|
||||
|
||||
let previous =
|
||||
ContentManifest::load(manifest_path).map_err(|error| NetError::Parse(error.to_string()))?;
|
||||
let records = match build_records(plan, &previous, minecraft_dir, &staged) {
|
||||
Ok(records) => records,
|
||||
Err(error) => {
|
||||
|
||||
Reference in new issue
Block a user