add delete function

This commit is contained in:
snus xD
2025-08-17 15:19:48 +03:00
parent 5831bcb4a6
commit 267781ea84
6 changed files with 55 additions and 53 deletions

View File

@@ -6,9 +6,9 @@ const chapters = fs.readdirSync("../_sprites/original");
const UNIQUES = fs
.readFileSync("../_sprites/unique.txt", "utf-8")
.split("УНИКАЛЬНЫЕ ДЛЯ РУСИФИКАТОРА:")
.split("UNIQUE FOR SORTING:")
.at(-1)
?.split("УНИКАЛЬНОЕ КОЛ-ВО КАДРОВ:");
?.split("UNIQUE FRAME COUNT:");
const UNIQUES_NAMES = UNIQUES != undefined ? UNIQUES[0].split("\n") : [];
UNIQUES_NAMES?.shift();
@@ -141,5 +141,3 @@ if (UNIQUES_NAMES != undefined) {
);
}
}
// LD