Expand description
Stage files from a temporary extraction directory into a mod’s store
directory, according to an InstallPlan.
Execution is deliberately dumb: it copies files, records their paths,
and returns the manifest. It does not touch the database — the caller
wires the returned Vec<StagedFile> into ModdeDb::record_install.
Variants that need user input (Fomod with no config, Bain with no
selection) return InstallerError::RequiresUserInput so the UI can
route to its wizard.
Functions§
- execute
- Execute
plan, staging files fromextracted_dirintostore_mod_dir. On success, mutatesplan.staged_fileswith the final manifest and returns it by value for the caller to persist.