mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-10-21 16:27:15 +08:00
✏️ typo
This commit is contained in:
parent
36a7cc1f5c
commit
5f23420e96
@ -110,7 +110,7 @@ async def check_resource():
|
||||
if not (RESOURCE_BASE_PATH / 'LittlePaimon' / 'star_rail').is_dir():
|
||||
try:
|
||||
await aiorequests.download(
|
||||
url=f'{config.github_proxy}https://raw.githubusercontent.com/CMHopeSunshine/LittlePaimonRes/main/resources/star_rail.zip',
|
||||
url=f'{config.github_proxy}https://raw.githubusercontent.com/CMHopeSunshine/LittlePaimonRes/main/star_rail.zip',
|
||||
save_path=RESOURCE_BASE_PATH / 'star_rail.zip')
|
||||
zipfile.ZipFile(RESOURCE_BASE_PATH / 'star_rail.zip').extractall(RESOURCE_BASE_PATH / 'LittlePaimon')
|
||||
(RESOURCE_BASE_PATH / 'star_rail.zip').unlink()
|
||||
|
Loading…
Reference in New Issue
Block a user