2023-04-27 08:44:27 +00:00
|
|
|
import asyncio
|
|
|
|
|
2023-05-02 14:40:15 +00:00
|
|
|
from res_func.avatar import fix_avatar_config, fetch_text_map
|
2023-04-27 08:44:27 +00:00
|
|
|
from res_func.light_cone import fix_light_cone_config
|
2023-05-09 07:22:54 +00:00
|
|
|
from res_func.relic import fetch_relic_config
|
2023-05-10 11:03:15 +00:00
|
|
|
from res_func.relic_res import fix_set_image
|
2023-05-09 13:03:36 +00:00
|
|
|
from res_func.honkai_gg.avatar import get_all_avatars
|
2023-04-27 08:44:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
async def main():
|
2023-05-02 14:40:15 +00:00
|
|
|
text_map_data = await fetch_text_map()
|
|
|
|
await fix_avatar_config(text_map_data)
|
2023-04-27 08:44:27 +00:00
|
|
|
await fix_light_cone_config()
|
2023-05-09 07:22:54 +00:00
|
|
|
await fetch_relic_config(text_map_data)
|
2023-05-10 11:03:15 +00:00
|
|
|
await fix_set_image()
|
2023-05-09 13:03:36 +00:00
|
|
|
await get_all_avatars()
|
2023-04-27 08:44:27 +00:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
asyncio.run(main())
|