Skip to main content

enable_mod

Function enable_mod 

Source
pub fn enable_mod(
    profile: &GameProfile,
    profile_dir: &Path,
    mod_name: &str,
) -> Result<()>
Expand description

Enables an installed mod: strips .old from its Subdir-tracked files and restores its State-tracked files by copying them back from the cache sources recorded in the _state file.