feat: Update exportCharacterCard to use v3 specification
This commit is contained in:
@@ -21,7 +21,7 @@ export async function shareRealmCardData():Promise<{ name: ArrayBuffer; data: Ar
|
||||
const trimedName = char.name.replace(/[^a-zA-Z0-9]/g, '') || 'character';
|
||||
const writer = new VirtualWriter()
|
||||
const namebuf = new TextEncoder().encode(trimedName + '.png')
|
||||
await exportCharacterCard(char, 'png', {writer: writer})
|
||||
await exportCharacterCard(char, 'png', {writer: writer, spec: 'v3'})
|
||||
alertStore.set({
|
||||
type: 'none',
|
||||
msg: ''
|
||||
|
||||
Reference in New Issue
Block a user