refactor: removed fallback image processing and updated portrait image processing

This commit is contained in:
Haoyu Xu
2025-11-16 17:05:28 +08:00
parent ea0bd20211
commit 2a99186867
13 changed files with 138 additions and 346 deletions

View File

@@ -1,12 +1,12 @@
dynchars: dynchars
item_to_download:
- homebackground/wrapper
- ui_camp_logo
- charportraits
- voice.*/extra
- char_128
- homebackground/wrapper
- ui_camp_logo
- voice.*/extra
- char_128
- spritepack/char_portrait.*
additional_regex:
- ^(?!(avg|charpack))(.*)$
- ^(?!(avg|charpack))(.*)$
servers:
- name: cn
url: https://ak-conf.hypergryph.com/config/prod/official/network_config
- name: cn
url: https://ak-conf.hypergryph.com/config/prod/official/network_config

View File

@@ -36,6 +36,7 @@ const download = async (
const lpacksRes: Response = await fetch(
`${urls.hu}/Android/assets/${version}/hot_update_list.json`
)
console.log(urls, lpacksRes)
const updateList: UpdateList = await lpacksRes.json()
const itemToDownload: Set<ItemToDownload> = new Set(config.item_to_download)
updateList.abInfos.map((item: AbInfosItem) => {