From 2961bdc2d8f2962afef7e4b4bcecd5eb4d365b73 Mon Sep 17 00:00:00 2001 From: leiyilu <1509167646@qq.com> Date: Mon, 20 Jun 2022 10:20:01 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin.js b/apps/admin.js index 5b67127..4a6bdae 100644 --- a/apps/admin.js +++ b/apps/admin.js @@ -50,7 +50,7 @@ export async function updateRes(e) { return true; } let command = ""; - if (fs.existsSync(`${resPath}/res-plus/`)) { + if (fs.existsSync(`${resPath}/xiaoyao-plus/`)) { e.reply("开始尝试更新,请耐心等待~"); command = `git pull`; exec(command, { cwd: `${resPath}/xiaoyao-plus/` }, function (error, stdout, stderr) {