aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
AgeCommit message (Collapse)Author
2021-11-09split mod install logicDaniel Schadt
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.
2021-11-09Rename --fix-permissions to --chownDaniel Schadt
On second thought, we're just calling chown, so let's call it that.
2021-11-09Add some command line help textsDaniel Schadt
2021-11-09add -p flag to fix permissionsDaniel Schadt
This is useful if you run modderbaas as root but want the resulting directories to be owned by the right uid/gid.
2021-11-06support installing modpacksDaniel Schadt
2021-11-06add a dry-run mode to installDaniel Schadt
2021-11-06Initial commitDaniel Schadt
This is the inital commit of a somewhat working version.