This commit is contained in:
thsrite
2023-10-17 16:54:00 +08:00
parent 6868712b4e
commit b90622a88e
2 changed files with 5 additions and 2 deletions

View File

@ -45,6 +45,9 @@ class SystemChain(ChainBase):
"""
重启系统
"""
if SystemUtils.is_windows():
logger.error("windows暂不支持")
return
if channel and userid:
self.post_message(Notification(channel=channel,
title="系统正在更新,请耐心等候!", userid=userid))