diff --git a/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java b/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java index f5dee39..9942225 100644 --- a/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java +++ b/src/main/java/com/yutou/qqbot/MessageEvent/AdminMessage.java @@ -149,12 +149,12 @@ public class AdminMessage extends Message { case QQCommands.SYSTEM_UPDATE_QQ ->{ QQBotManager.getInstance().sendMessage(qq,"正在更新qq"); System.out.println("结束进程"); - AppTools.exec("cd /home/yutou/git/QQBot && ./update.sh",null,true,false); + AppTools.exec("cd /root/git/QQBot && ./update.sh",null,true,false); } case QQCommands.SYSTEM_UPDATE_NAS ->{ QQBotManager.getInstance().sendMessage(qq,"正在更新NAS服务"); System.out.println("结束进程"); - AppTools.exec("cd /home/yutou/git/nas-service && ./update.sh",null,true,false); + AppTools.exec("cd /root/git/nas-service && ./update.sh",null,true,false); } case QQCommands.SIGN -> {