aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2021-11-09 18:38:52 +0100
committerDaniel Schadt <kingdread@gmx.de>2021-11-09 18:38:52 +0100
commit1db932c9f435fb54a3ca58333495d1e24ca7400f (patch)
tree875a532f80749e607837567b7b0dcb50fc22ca45 /src/util.rs
parent7fbea3826e932cebd6c2f9883fe6ebdf8b08d6b2 (diff)
downloadmodderbaas-1db932c9f435fb54a3ca58333495d1e24ca7400f.tar.gz
modderbaas-1db932c9f435fb54a3ca58333495d1e24ca7400f.tar.bz2
modderbaas-1db932c9f435fb54a3ca58333495d1e24ca7400f.zip
split mod install logic
Previously, install_mod was a huge function that did a lot of things at once. Not only did it do the actual mod copying, it also had the dependency resolution, user interaction, ... Now, we've split the code and made it more re-usable. The dependency resolution is done in Baas::install, with special "hooks" being given in baas::Installer that allow a consumer to customize the installation and embed the user interaction there. The code itself is pretty much the same, it is just split up now.
Diffstat (limited to 'src/util.rs')
0 files changed, 0 insertions, 0 deletions