feat: require新增基础目录api

This commit is contained in:
coding 2018-01-08 09:12:08 +00:00
parent 5f41e1593f
commit 0fc6504c6a

View File

@ -31,7 +31,7 @@
var File = Java.type("java.io.File");
var separatorChar = File.separatorChar;
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{
base.delete(cacheDir);