fixed tm
This commit is contained in:
		
							parent
							
								
									523b15e289
								
							
						
					
					
						commit
						cb74d83e6c
					
				| @ -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) | ||||||
|  | |||||||
							
								
								
									
										2
									
								
								main.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								main.go
									
									
									
									
									
								
							| @ -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])) | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user