Skip to main content

disable_mod

Function disable_mod 

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

Disables an installed mod: renames its Subdir-tracked files to .old and removes its State-tracked files (recoverable via the _state file on enable). Leaves shared/none config and the loader untouched.