|
|
|
@ -1941,8 +1941,7 @@ function resource() { |
|
|
|
|
|
|
|
|
|
let oldfiles = readDir(getPath(datapath+'libs_jk/')); |
|
|
|
|
log(oldfiles.length); |
|
|
|
|
log(oldfiles.filter(o=>o.includes("干饭"))); |
|
|
|
|
let newfiles = readDir(input).filter(v=>v.endsWith('.js') && oldfiles.filter(o=>o.includes(v)).length==0).map(v=>input+v); |
|
|
|
|
let newfiles = readDir(input).filter(v=>v.endsWith('.js') && oldfiles.filter(o=>o==v).length==0).map(v=>input+v); |
|
|
|
|
log(newfiles); |
|
|
|
|
return "toast://111"; |
|
|
|
|
} |
|
|
|
|