fix new live2d asset listing for character folder.
This commit is contained in:
parent
7f8994c1fd
commit
e7e4f75c86
|
@ -274,7 +274,7 @@ function registerEndpoints(app, jsonParser) {
|
|||
for (let file of fs.readdirSync(live2dModelPath)) {
|
||||
//console.debug("Character live2d model found:", file)
|
||||
if (file.includes("model"))
|
||||
output.push([`${modelFolder}`, path.join("characters", name, category, modelFolder, file)]);
|
||||
output.push(path.join("characters", name, category, modelFolder, file));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue