From 14d93fbd4e82c5a0f560d5331e938acb8c0ecaaa Mon Sep 17 00:00:00 2001 From: comp500 Date: Sun, 14 Mar 2021 14:07:59 +0000 Subject: [PATCH] Support .litemod in cf detect --- curseforge/detect.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curseforge/detect.go b/curseforge/detect.go index 988d8ad..aaf36b1 100644 --- a/curseforge/detect.go +++ b/curseforge/detect.go @@ -38,7 +38,7 @@ var detectCmd = &cobra.Command{ if info.IsDir() { return nil } - if !strings.HasSuffix(path, ".jar") { + if !strings.HasSuffix(path, ".jar") && !strings.HasSuffix(path, ".litemod") { // TODO: make this less bad return nil }