🍱 更新资源下载地址, 优化依赖安装

This commit is contained in:
KimigaiiWuyi 2024-09-28 19:32:04 +08:00
parent a7a19a3024
commit fe69822a0c
2 changed files with 5 additions and 5 deletions

View File

@ -218,7 +218,7 @@ def install_dependencies(dependencies: Dict, need_update: bool = False):
logger.debug(f'[安装/更新依赖] 当前启动工具:{start_tool}') logger.debug(f'[安装/更新依赖] 当前启动工具:{start_tool}')
if start_tool == 'pdm': if start_tool.startswith('pdm'):
result = subprocess.run( result = subprocess.run(
'pdm run python -m ensurepip', 'pdm run python -m ensurepip',
capture_output=True, capture_output=True,

View File

@ -67,10 +67,10 @@ async def check_speed():
logger.info('[GsCore资源下载]测速中...') logger.info('[GsCore资源下载]测速中...')
URL_LIB = { URL_LIB = {
'[JPFRP]': 'http://jp-3.lcf.1l1.icu:17217', '[JPFRP]': 'http://jp-1.lcf.icu:17217',
'[HKFRP]': 'http://hk-1.lcf.1l1.icu:10200', '[HKFRP]': 'http://hk-2.lcf.icu:10200',
'[USFRP]': 'http://us-6.lcf.1l1.icu:28596', '[USFRP]': 'http://us-2.lcf.icu:28596',
'[XiaoWu]': 'http://frp.xiaowuap.com:63481', '[HNFRP]': 'http://103.150.11.217:13214',
'[Chuncheon]': 'https://kr.qxqx.cf', '[Chuncheon]': 'https://kr.qxqx.cf',
'[Seoul]': 'https://kr-s.qxqx.cf', '[Seoul]': 'https://kr-s.qxqx.cf',
'[Singapore]': 'https://sg.qxqx.cf', '[Singapore]': 'https://sg.qxqx.cf',