merge: integrate official game audio into main

This commit is contained in:
2026-09-21 16:36:19 +08:00
28 changed files with 1874 additions and 41 deletions

View File

@@ -145,7 +145,7 @@ async function resolveInsideProject(projectPath: string, candidatePath: string):
}
}
async function readMediaDataUrl(projectPath: string, candidatePath: string, maxBytes: number): Promise<string | null> {
export async function readMediaDataUrl(projectPath: string, candidatePath: string, maxBytes: number): Promise<string | null> {
const resolved = await resolveInsideProject(projectPath, candidatePath);
if (!resolved) return null;
const fileStat = await stat(resolved);