diff --git a/plugins/system_updater/main.py b/plugins/system_updater/main.py index 21dc2a9..9b183d9 100644 --- a/plugins/system_updater/main.py +++ b/plugins/system_updater/main.py @@ -133,7 +133,7 @@ class SystemUpdaterPlugin(MessagePluginInterface): try: # 使用相对路径调用 restart.sh 脚本 result = subprocess.run( - ["/home/liuwei/wechatbot/WeChatRobot/restart.sh"], # 使用绝对路径 + ["/home/liuwei/abot/restart.sh"], # 使用绝对路径 check=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE