Support .litemod in cf detect

This commit is contained in:
comp500 2021-03-14 14:07:59 +00:00
parent b5757fa63a
commit 14d93fbd4e

View File

@ -38,7 +38,7 @@ var detectCmd = &cobra.Command{
if info.IsDir() { if info.IsDir() {
return nil return nil
} }
if !strings.HasSuffix(path, ".jar") { if !strings.HasSuffix(path, ".jar") && !strings.HasSuffix(path, ".litemod") {
// TODO: make this less bad // TODO: make this less bad
return nil return nil
} }