mirror of
https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git
synced 2025-01-04 04:45:36 +08:00
修改bug
This commit is contained in:
parent
74aa6c74fa
commit
2961bdc2d8
@ -50,7 +50,7 @@ export async function updateRes(e) {
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
let command = "";
|
let command = "";
|
||||||
if (fs.existsSync(`${resPath}/res-plus/`)) {
|
if (fs.existsSync(`${resPath}/xiaoyao-plus/`)) {
|
||||||
e.reply("开始尝试更新,请耐心等待~");
|
e.reply("开始尝试更新,请耐心等待~");
|
||||||
command = `git pull`;
|
command = `git pull`;
|
||||||
exec(command, { cwd: `${resPath}/xiaoyao-plus/` }, function (error, stdout, stderr) {
|
exec(command, { cwd: `${resPath}/xiaoyao-plus/` }, function (error, stdout, stderr) {
|
||||||
|
Loading…
Reference in New Issue
Block a user