backup: plugins

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2021-06-22 15:52:27 +08:00
parent 3beed64319
commit be2988fc58
11 changed files with 744 additions and 46 deletions

View File

@@ -69,7 +69,7 @@ export class MiaoExplorer extends interfaces.Plugin {
private readDir(dir) {
let children = Java.from(dir.listFiles(new FileFilter({
accept: file => file.getName().endsWith('.yml') || file.isDirectory()
accept: file => file.getName().endsWith('.yml') || file.getName().endsWith('.js') || file.isDirectory()
}))).sort().map(file => {
if (file.isDirectory()) {
let children = this.readDir(file)