Function thermite::install

source ·
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 context
  • target - The index to install to
  • mods - The mods to install
  • force - Ignore non-fatal errors