Update index.js

This commit is contained in:
2vb 2023-11-15 11:50:29 -08:00 committed by GitHub
parent 258e291fa4
commit 8a93c24cb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,6 +52,7 @@ function extract(string) {
if (group == "blocks" && rename) {
// console.log(rename)
try {
// TODO: some files not found :( pls fix
fs.renameSync(`${poggers}${name}.png`, `${poggers}${rename}.png`)
console.log(`renamed ${poggers}${rename}`)
// fs.existsSync(poggers)