New avatars set WIP:

* adding new avatars by David Revoy
* replacing old avatars to test

TODO: add a settings to choose between legacy and new avatars.
TODO: generate a bot avatar.
This commit is contained in:
John Livingston
2024-02-08 18:49:49 +01:00
parent 99f01014b2
commit b9b0eb41d9
257 changed files with 503 additions and 34 deletions

View File

@ -94,7 +94,7 @@ async function getProsodyFilePaths (options: RegisterServerOptions): Promise<Pro
certsDir = path.resolve(dir, 'data')
}
const avatarsDir = path.resolve(__dirname, '../../avatars')
const avatarsDir = path.resolve(__dirname, '../../avatars-2024')
const avatarsFiles = await _listAvatars(avatarsDir)
const botAvatarsDir = path.resolve(__dirname, '../../bot_avatars')
const botAvatarsFiles = await _listAvatars(botAvatarsDir)