更新配置参数化

This commit is contained in:
liuwei
2025-06-04 10:30:06 +08:00
parent 84f2a11a5e
commit e200c5e7d7
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -3,4 +3,5 @@ enable = true
commands = ["更新系统", "系统更新", "重启系统", "更新重启"]
wait_time = 5
# 设置管理员微信ID,只有这些ID可以执行更新操作
admin_wxids = ["Jyunere"] # 在此添加管理员微信ID,例如 ["wxid_123456", "wxid_abcdef"]
admin_wxids = ["Jyunere"] # 在此添加管理员微信ID,例如 ["wxid_123456", "wxid_abcdef"]
shell_path= "/home/liuwei/abot/restart.sh"