pub async fn install(
ctx: &mut Ctx,
target: &mut LocalIndex,
mods: &[&ModVersion],
_force: bool,
cache: bool
) -> Result<(), ThermiteError>Expand description
Download and install mod(s) to the specified target. Will check the cache before downloading if configured.
Params
ctx- The current contexttarget- The index to install tomods- The mods to installforce- Ignore non-fatal errors