From 59506fcc76fd6f8c9a58379068b83907f8e9fcd8 Mon Sep 17 00:00:00 2001 From: snowyServer Date: Thu, 21 Mar 2024 12:55:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86`plugins.json?= =?UTF-8?q?`=E6=8A=A5=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/liteyuki_plugin_npm/installer.py | 1 + src/utils/message.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/plugins/liteyuki_plugin_npm/installer.py b/src/plugins/liteyuki_plugin_npm/installer.py index 8e7c863..943e6e2 100644 --- a/src/plugins/liteyuki_plugin_npm/installer.py +++ b/src/plugins/liteyuki_plugin_npm/installer.py @@ -214,6 +214,7 @@ def npm_install(plugin_module_name) -> tuple[bool, str]: mirrors = [ "https://pypi.tuna.tsinghua.edu.cn/simple", + "https://pypi.mirrors.cqupt.edu.cn/simple/", "https://pypi.org/simple", ] diff --git a/src/utils/message.py b/src/utils/message.py index d05ea66..80a5890 100644 --- a/src/utils/message.py +++ b/src/utils/message.py @@ -100,4 +100,4 @@ class Markdown: markdown格式的链接 """ - return f"[链接{name}]({encode_url(url)})" + return f"[🔗{name}]({encode_url(url)})"