更新 'SrcJySet.js'

master
src48597962 6 months ago
parent 69a9508794
commit 74b1003b7d
  1. 6
      SrcJySet.js

@ -1940,9 +1940,9 @@ function resource() {
}
let oldfiles = getDatas("jk").filter(v=>v.type=="hipy_t3" && v.url.startsWith(datapath)).map(v=>v.url);
log(oldfiles);
//let newfiles = readDir(input).filter(v=>v.endsWith('.js') && oldfiles.filter(o=>o==v).length==0).map(v=>input+v);
//log(newfiles);
log(oldfiles.length);
let newfiles = readDir(input).filter(v=>v.endsWith('.js') && oldfiles.filter(o=>o.includes(v)).length==0).map(v=>input+v);
log(newfiles);
return "toast://111";
}

Loading…
Cancel
Save