diff --git a/gsuid_core/server.py b/gsuid_core/server.py index 703621c..dcc15bf 100644 --- a/gsuid_core/server.py +++ b/gsuid_core/server.py @@ -218,7 +218,7 @@ def install_dependencies(dependencies: Dict, need_update: bool = False): logger.debug(f'[安装/更新依赖] 当前启动工具:{start_tool}') - if start_tool == 'pdm': + if start_tool.startswith('pdm'): result = subprocess.run( 'pdm run python -m ensurepip', capture_output=True, diff --git a/gsuid_core/utils/download_resource/download_core.py b/gsuid_core/utils/download_resource/download_core.py index c4feca0..8683633 100644 --- a/gsuid_core/utils/download_resource/download_core.py +++ b/gsuid_core/utils/download_resource/download_core.py @@ -67,10 +67,10 @@ async def check_speed(): logger.info('[GsCore资源下载]测速中...') URL_LIB = { - '[JPFRP]': 'http://jp-3.lcf.1l1.icu:17217', - '[HKFRP]': 'http://hk-1.lcf.1l1.icu:10200', - '[USFRP]': 'http://us-6.lcf.1l1.icu:28596', - '[XiaoWu]': 'http://frp.xiaowuap.com:63481', + '[JPFRP]': 'http://jp-1.lcf.icu:17217', + '[HKFRP]': 'http://hk-2.lcf.icu:10200', + '[USFRP]': 'http://us-2.lcf.icu:28596', + '[HNFRP]': 'http://103.150.11.217:13214', '[Chuncheon]': 'https://kr.qxqx.cf', '[Seoul]': 'https://kr-s.qxqx.cf', '[Singapore]': 'https://sg.qxqx.cf',