Fabric filtering and native export for CurseForge

This commit is contained in:
comp500
2021-06-15 03:09:49 +01:00
parent fd94e671cd
commit 896b9548de
11 changed files with 107 additions and 171 deletions

View File

@@ -261,13 +261,8 @@ var importCmd = &cobra.Command{
successes++
continue
}
if v.Name() == "minecraftinstance.json" {
fmt.Println("Ignored file \"minecraftinstance.json\"")
successes++
continue
}
if v.Name() == "manifest.json" {
fmt.Println("Ignored file \"manifest.json\"")
if v.Name() == "manifest.json" || v.Name() == "minecraftinstance.json" || v.Name() == ".curseclient" {
fmt.Printf("Ignored file \"%s\"\n", v.Name())
successes++
continue
}