fix:修复modrinth json读取失败
This commit is contained in:
@@ -69,6 +69,7 @@ async function main(modpack_path: string) {
|
||||
const name: string = entry.fileName;
|
||||
dud_files.push(name);
|
||||
if (name.endsWith(".json")) {
|
||||
//console.log((await readzipentry(zipfile, entry)))
|
||||
pack_info = JSON.parse(
|
||||
(await readzipentry(zipfile, entry)).toString()
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user