fix new live2d asset listing for character folder.

This commit is contained in:
Tony Ribeiro 2023-11-12 19:08:29 +01:00
parent 7f8994c1fd
commit e7e4f75c86
1 changed files with 1 additions and 1 deletions

View File

@ -274,7 +274,7 @@ function registerEndpoints(app, jsonParser) {
for (let file of fs.readdirSync(live2dModelPath)) { for (let file of fs.readdirSync(live2dModelPath)) {
//console.debug("Character live2d model found:", file) //console.debug("Character live2d model found:", file)
if (file.includes("model")) if (file.includes("model"))
output.push([`${modelFolder}`, path.join("characters", name, category, modelFolder, file)]); output.push(path.join("characters", name, category, modelFolder, file));
} }
} }
} }