fix: unready script chapters error

This commit is contained in:
snus xD
2025-12-24 10:16:59 +03:00
parent f0b87a6da0
commit 4f1d700cb2
3 changed files with 3568 additions and 3 deletions

View File

@@ -3,7 +3,8 @@
"@types/adm-zip": "^0.5.7",
"@types/node": "^24.0.15"
},
"type": "module",
"dependencies": {
"adm-zip": "^0.5.16"
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -3,7 +3,7 @@ import { PATHS, CHAPTERS, UNIQUES_FRAMES } from "./shared";
if (!fs.existsSync(PATHS.UNREADY)) fs.mkdirSync(PATHS.UNREADY);
for (const chapter of Object.keys(CHAPTERS)) {
for (const chapter of CHAPTERS) {
const original_path = `${PATHS.ORIGINAL}/${chapter}`;
if (!fs.existsSync(PATHS.UNREADY)) fs.mkdirSync(PATHS.UNREADY);