Skip to content

Commit 6916e03

Browse files
committed
Fix the bug
1 parent ace93a5 commit 6916e03

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

update.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ do
3131
echo " "
3232
if [ "$answer" != "${answer#[Yy]}" ]; then
3333
mv /var/www/html/wizwizxui-timebot/baseInfo.php /root/
34+
mv /var/www/html/wizwizxui-timebot/settings/botstate.json /root/
3435
echo -e "\n\e[92mUpdating ...\033[0m\n"
3536
sleep 4
3637
rm -r /var/www/html/wizwizxui-timebot/
@@ -41,6 +42,7 @@ do
4142
sudo chmod -R 755 /var/www/html/wizwizxui-timebot/
4243
sleep 3
4344
mv /root/baseInfo.php /var/www/html/wizwizxui-timebot/
45+
mv /root/botstate.json /var/www/html/wizwizxui-timebot/settings
4446
if [ $? -ne 0 ]; then
4547
echo -e "\n\e[41mError: The update failed!\033[0m\n"
4648
exit 1

0 commit comments

Comments
 (0)