add classpath detection

This commit is contained in:
idk
2021-12-04 15:47:38 -05:00
parent d47e8cb625
commit eb0fabfefd

View File

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