Update main.js (#917)

给路径文件夹读取,开放更多的层数
This commit is contained in:
JJMdzh
2025-05-25 15:52:02 +08:00
committed by GitHub
parent 7e66038277
commit 082a69cd9d

View File

@@ -1105,7 +1105,7 @@ function matchImageAndGetCategory(resourceName, imagesDir) {
const materialCategories = readMaterialCategories(materialDir);
// 递归读取路径信息文件夹
const pathingFilePaths = readAllFilePaths(pathingDir, 0, 1, ['.json']);
const pathingFilePaths = readAllFilePaths(pathingDir, 0, 3, ['.json']);
// 将路径和资源名绑定,避免重复提取