feat: export modpacks in CurseForge, Modrinth and MultiMC formats
Add shared export planning, cached scans, exact file selection, safe overwrite confirmation and background TUI progress. Refine sectioned confirmations and allow ordinary content changes while games run. Invalidate stale export fingerprints on validation failure, preserve ownership and mutation checks, and use ordered lookups for unmatched-file highlighting. Add export, UI, locking and cache-recovery regression tests.
This commit is contained in:
1 parent
1bc73258e2
commit
538c37f853
55 files changed
+4746
-448
No files matched your search
@@ -321,20 +321,14 @@ fn user_conflict_reason(reason: &str) -> String {
|
||||
if let Some(details) = reason.strip_prefix("Conflicting selected versions for '")
|
||||
&& let Some((dependency, _)) = details.split_once("': '")
|
||||
{
|
||||
return format!(
|
||||
"Other selected updates require different versions of {dependency}.\nThis mod was left unchanged; update it separately with v."
|
||||
);
|
||||
return format!("Other selected updates require different versions of {dependency}");
|
||||
}
|
||||
if let Some(details) = reason.strip_prefix("Conflicting required versions for '")
|
||||
&& let Some((dependency, _)) = details.split_once("': '")
|
||||
{
|
||||
return format!(
|
||||
"This update requires incompatible versions of {dependency}.\nThis mod was left unchanged; choose another version with v."
|
||||
);
|
||||
return format!("Incompatible required versions of {dependency}");
|
||||
}
|
||||
format!(
|
||||
"This update could not be prepared: {reason}. The installed version was left unchanged; try updating it separately with v."
|
||||
)
|
||||
reason.to_owned()
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
|
||||
Reference in new issue
Block a user