d2r_mod_undeploy
Revert a deployed D2R mod, removing the mod directory and unregistering launch options to restore vanilla game state. Optionally keep mod files on disk for later reuse.
Instructions
Revert the deployed D2R mod, restoring the vanilla game state.
Removes the mod directory from the D2R install (or keeps it on disk with keep_mod=True) and unregisters the launch options. Use this to roll back a deploy without rebuilding, or before switching to a different mod.
Args: keep_mod: If True, leave the built mod directory in place on disk. game_dir: Override the auto-detected D2R install path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keep_mod | No | ||
| game_dir | No |