更新路径

This commit is contained in:
Yutousama 2022-04-28 08:37:12 +08:00
parent 694b5fb2ae
commit f116568261

View File

@ -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 -> {