feat: require新增基础目录api
This commit is contained in:
parent
5f41e1593f
commit
0fc6504c6a
@ -31,7 +31,7 @@
|
|||||||
var File = Java.type("java.io.File");
|
var File = Java.type("java.io.File");
|
||||||
var separatorChar = File.separatorChar;
|
var separatorChar = File.separatorChar;
|
||||||
var cacheDir = parent + separatorChar + "runtime";
|
var cacheDir = parent + separatorChar + "runtime";
|
||||||
var paths = [parent, parent + separatorChar + 'core', parent + separatorChar + 'modules'];
|
var paths = [parent, parent + separatorChar + 'core', parent + separatorChar + 'api', parent + separatorChar + 'modules'];
|
||||||
|
|
||||||
try{
|
try{
|
||||||
base.delete(cacheDir);
|
base.delete(cacheDir);
|
||||||
|
Loading…
Reference in New Issue
Block a user