feat: add official game audio generation client
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user