2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +08:00

图库默认gitee链接改为gitea(感谢@小灰灰)

This commit is contained in:
ctrlcvs 2024-09-18 08:47:02 +08:00
parent 414c7914d2
commit cdec9f01aa

View File

@ -174,9 +174,10 @@ export async function updateRes(e) {
} }
}); });
} else { } else {
//gitee图床 //gitea图床
command = `git clone https://github.com/ctrlcvs/xiaoyao_plus.git "${resPath}/xiaoyao-plus/"` 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此链接为github图床,如异常请请求多次 // 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("开始尝试安装图鉴加量包,可能会需要一段时间,请耐心等待~"); e.reply("开始尝试安装图鉴加量包,可能会需要一段时间,请耐心等待~");
exec(command, function(error, stdout, stderr) { exec(command, function(error, stdout, stderr) {
if (error) { if (error) {