From cdec9f01aa9e3f96264f7c7820424fa1404a21d9 Mon Sep 17 00:00:00 2001 From: ctrlcvs <1509167646@qq.com> Date: Wed, 18 Sep 2024 08:47:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9B=BE=E5=BA=93=E9=BB=98=E8=AE=A4gitee?= =?UTF-8?q?=E9=93=BE=E6=8E=A5=E6=94=B9=E4=B8=BAgitea=EF=BC=88=E6=84=9F?= =?UTF-8?q?=E8=B0=A2@=E5=B0=8F=E7=81=B0=E7=81=B0=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/apps/admin.js b/apps/admin.js index 4197341..e85e380 100644 --- a/apps/admin.js +++ b/apps/admin.js @@ -174,9 +174,10 @@ export async function updateRes(e) { } }); } else { - //gitee图床 - command = `git clone https://github.com/ctrlcvs/xiaoyao_plus.git "${resPath}/xiaoyao-plus/"` - // command = `git clone https://gitee.com/Ctrlcvs/xiaoyao-plus.git "${resPath}/xiaoyao-plus/"`;\n此链接为github图床,如异常请请求多次 + //gitea图床 + command = `git clone http://gitea.microgg.cn/ctrlcvs/xiaoyao_plus.git "${resPath}/xiaoyao-plus/"` + // command = `git clone https://gitee.com/Ctrlcvs/xiaoyao-plus.git "${resPath}/xiaoyao-plus/"`;\n此链接为gitee图床,因仓库过大已被封禁 + // command = `git clone https://github.com/ctrlcvs/xiaoyao_plus.git "${resPath}/xiaoyao-plus/"`;\n此链接为gitub图床,如异常请请求多次 e.reply("开始尝试安装图鉴加量包,可能会需要一段时间,请耐心等待~"); exec(command, function(error, stdout, stderr) { if (error) {