fix: 禁用统计看板造成初始化失败

pull/1208/head
zhangxinhui02 2025-08-20 12:51:43 +08:00
parent f5162564df
commit a58919d906
No known key found for this signature in database
GPG Key ID: 22C23383864A313F
1 changed files with 4 additions and 1 deletions

View File

@ -23,7 +23,10 @@ rm -rf /MaiMBot/plugins
# 创建软链接,从存储卷链接到实际位置
ln -s /MaiMBot/data/plugins /MaiMBot/plugins
ln -s /MaiMBot/data/logs /MaiMBot/logs
ln -s /MaiMBot/statistics/index.html /MaiMBot/maibot_statistics.html
if [ -f "/MaiMBot/statistics/index.html" ]
then
ln -s /MaiMBot/statistics/index.html /MaiMBot/maibot_statistics.html
fi
# 启动麦麦
echo "[VolumeLinker]Starting MaiBot..."