pub async fn install_modpack(
pack_path: &Path,
instance_name: &str,
base_dir: &Path,
java_path: Option<&Path>,
curseforge: Option<&CurseForgeClient>,
progress: ProgressFn,
) -> Result<ModpackInstallResult>Expand description
Install a local modpack file, detecting its format.
java_path: needed by the Forge/NeoForge installers; None finds a Java matching the
MC version automatically.
curseforge: required for CurseForge modpacks.