feat:fabric启动脚本,垃圾回收,rubbish改名 fix:json解析失败崩溃

This commit is contained in:
Tianpao
2025-07-26 16:27:14 +08:00
parent d8d8c4051a
commit 9d77fa53c7
4 changed files with 39 additions and 6 deletions

View File

@@ -10,6 +10,11 @@ import { URL, fileURLToPath } from "node:url";
import { LOGGER } from "./logger.js";
import { exec } from "node:child_process";
export interface ForgeInfo{
minecraft_verison: string,
forge_verison: string
}
export async function readzipentry(
zipfile: yauzl.ZipFile,
entry: yauzl.Entry