mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2024-12-23 03:20:52 +08:00
修改bug
This commit is contained in:
parent
74aa6c74fa
commit
2961bdc2d8
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user