mirror of
https://github.com/baiqwerdvd/StarRailUID.git
synced 2025-05-06 19:53:44 +08:00
12 lines
292 B
Python
12 lines
292 B
Python
import asyncio
|
|
|
|
from .download_from_cos import download_all_file_from_cos
|
|
|
|
|
|
async def download_all_resource():
|
|
ret = await asyncio.gather(download_all_file_from_cos())
|
|
ret = [str(x) for x in ret if x]
|
|
if ret:
|
|
return '\n'.join(ret)
|
|
return 'sr全部资源下载完成!'
|