This commit is contained in:
endigma 2021-01-30 15:08:08 -04:00
parent 523b15e289
commit cb74d83e6c
2 changed files with 5 additions and 2 deletions

View File

@ -27,7 +27,10 @@ func InstallMod(pkg string) {
mod := api.GetModData(tools.ExposeModString(pkg))
for _, dep := range mod.Versions[0].Dependencies {
InstallMod(tools.ExposeModString(dep))
depString := tools.ExposeModString(dep)
if depString != "tristanmcpherson-R2API" && depString != "bbepis-BepInExPack" {
InstallMod(depString)
}
}
fmt.Println(buffer)

View File

@ -118,7 +118,7 @@ func main() {
if tools.ToggleMods() {
color.Cyan("> Mods Enabled")
} else {
color.Cyan("> Mods Enabled")
color.Cyan("> Mods Disabled")
}
case "filter":
fmt.Println(tools.ExposeModString(os.Args[2]))