From c4f1f6d28b87994a1d5afb939982a7ac8c25ca92 Mon Sep 17 00:00:00 2001 From: kwaroran Date: Thu, 11 Apr 2024 09:13:15 +0900 Subject: [PATCH] Update importCharacter function to allow multiple file selection --- src/ts/characterCards.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/characterCards.ts b/src/ts/characterCards.ts index 765eaf42..a98e35db 100644 --- a/src/ts/characterCards.ts +++ b/src/ts/characterCards.ts @@ -18,7 +18,7 @@ export const hubURL = "https://sv.risuai.xyz" export async function importCharacter() { try { - const files = await selectFileByDom(['png', 'json']) + const files = await selectFileByDom(['png', 'json'], 'multiple') if(!files){ return }