Update importCharacter function to allow multiple file selection
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user