fix: 修复路径导致的插件加载失败

This commit is contained in:
coding
2017-10-23 09:09:24 +00:00
parent 7e2bb0a73a
commit 898872a88f
7 changed files with 48 additions and 27 deletions

View File

@ -14,7 +14,7 @@ var disable;
}
load(root + '/core/init.js');
try {
init(root, plugin);
init(root);
} catch (ex) {
log.w("MiaoScript 初始化失败! %s", ex);
throw ex;