From 44393e636d2b871ca63f8c81cff3a85816d4afa8 Mon Sep 17 00:00:00 2001 From: leiyilu <1509167646@qq.com> Date: Tue, 21 Jun 2022 22:20:21 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0gitee=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/admin.js b/apps/admin.js index 4a6bdae..51ed418 100644 --- a/apps/admin.js +++ b/apps/admin.js @@ -71,8 +71,10 @@ export async function updateRes(e) { } }); } else { - command = `git clone https://github.com/ctrlcvs/xiaoyao_plus.git "${resPath}/xiaoyao-plus/"`; - e.reply("开始尝试安装图片加量包,可能会需要一段时间,请耐心等待~\n此链接为github图床,如异常请请求多次"); + //gitee图床 + command =`git clone https://gitee.com/Ctrlcvs/xiaoyao-plus.git "${resPath}/xiaoyao-plus/"` + // command = `git clone https://github.com/ctrlcvs/xiaoyao_plus.git "${resPath}/xiaoyao-plus/"`;\n此链接为github图床,如异常请请求多次 + e.reply("开始尝试安装图鉴加量包,可能会需要一段时间,请耐心等待~"); exec(command, function (error, stdout, stderr) { if (error) { e.reply("角色图片加量包安装失败!\nError code: " + error.code + "\n" + error.stack + "\n 请稍后重试。");