From f116568261d55615f511bfafe557439b4619e77c Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Thu, 28 Apr 2022 08:37:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java b/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java index ce875d7..83a684b 100644 --- a/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java +++ b/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java @@ -168,12 +168,12 @@ public class AdminMessage extends Message { case QQCommands.SYSTEM_UPDATE_QQ -> { QQBotManager.getInstance().sendMessage(qq, "正在更新qq"); System.out.println("结束进程"); - AppTools.exec("cd /root/git/QQBot && ./update.sh", null, true, false); + AppTools.exec("cd /home/yutou/git/QQBot && ./update.sh", null, true, false); } case QQCommands.SYSTEM_UPDATE_NAS -> { QQBotManager.getInstance().sendMessage(qq, "正在更新NAS服务"); System.out.println("结束进程"); - AppTools.exec("cd /root/git/nas-service && ./update.sh", null, true, false); + AppTools.exec("cd /home/yutou/git/nas-service && ./update.sh", null, true, false); } case QQCommands.SIGN -> {