add classpath detection

This commit is contained in:
idk
2021-12-04 15:48:18 -05:00
parent eb0fabfefd
commit d4da788632

View File

@ -142,8 +142,8 @@ func main() {
for i, file := range files { for i, file := range files {
cleaned := strings.Replace(file, *resdir, "$PLUGIN/", 1) cleaned := strings.Replace(file, *resdir, "$PLUGIN/", 1)
cc.ExtendClassPath += cleaned cc.ExtendClassPath += cleaned
fmt.Printf("%d:%d-%s\n", i,len(files) cleaned) fmt.Printf("%d:%d-%s\n", i, len(files), cleaned)
if i != len(files) { //-1 { if i != len(files)-1 {
cc.ExtendClassPath += "," cc.ExtendClassPath += ","
} }
} }