[fix] license import
This commit is contained in:
@@ -345,5 +345,5 @@ export const languageEnglish = {
|
|||||||
createBotInternet: "Create Bot from Internet with AI",
|
createBotInternet: "Create Bot from Internet with AI",
|
||||||
createBotInternetAlert: "Please provide the character's name and the corresponding series/game.",
|
createBotInternetAlert: "Please provide the character's name and the corresponding series/game.",
|
||||||
able:"Able",
|
able:"Able",
|
||||||
assetWidth: "Asset Max Width",
|
assetWidth: "Asset Images Max Width",
|
||||||
}
|
}
|
||||||
@@ -390,7 +390,8 @@ async function importSpecv2(card:CharacterCardV2, img?:Uint8Array, mode?:'hub'|'
|
|||||||
},
|
},
|
||||||
additionalAssets: extAssets,
|
additionalAssets: extAssets,
|
||||||
replaceGlobalNote: data.post_history_instructions ?? '',
|
replaceGlobalNote: data.post_history_instructions ?? '',
|
||||||
backgroundHTML: data?.extensions?.risuai?.backgroundHTML
|
backgroundHTML: data?.extensions?.risuai?.backgroundHTML,
|
||||||
|
license: data?.extensions?.risuai?.license
|
||||||
}
|
}
|
||||||
|
|
||||||
db.characters.push(char)
|
db.characters.push(char)
|
||||||
|
|||||||
Reference in New Issue
Block a user