From fe69822a0cbe6c5f0a7327445c97541d1f9a8775 Mon Sep 17 00:00:00 2001 From: KimigaiiWuyi <444835641@qq.com> Date: Sat, 28 Sep 2024 19:32:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=B1=20=E6=9B=B4=E6=96=B0=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E4=B8=8B=E8=BD=BD=E5=9C=B0=E5=9D=80,=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E4=BE=9D=E8=B5=96=E5=AE=89=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gsuid_core/server.py | 2 +- gsuid_core/utils/download_resource/download_core.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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',