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)) mod := api.GetModData(tools.ExposeModString(pkg))
for _, dep := range mod.Versions[0].Dependencies { 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) fmt.Println(buffer)

View File

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