We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ace93a5 commit 6916e03Copy full SHA for 6916e03
update.sh
@@ -31,6 +31,7 @@ do
31
echo " "
32
if [ "$answer" != "${answer#[Yy]}" ]; then
33
mv /var/www/html/wizwizxui-timebot/baseInfo.php /root/
34
+ mv /var/www/html/wizwizxui-timebot/settings/botstate.json /root/
35
echo -e "\n\e[92mUpdating ...\033[0m\n"
36
sleep 4
37
rm -r /var/www/html/wizwizxui-timebot/
@@ -41,6 +42,7 @@ do
41
42
sudo chmod -R 755 /var/www/html/wizwizxui-timebot/
43
sleep 3
44
mv /root/baseInfo.php /var/www/html/wizwizxui-timebot/
45
+ mv /root/botstate.json /var/www/html/wizwizxui-timebot/settings
46
if [ $? -ne 0 ]; then
47
echo -e "\n\e[41mError: The update failed!\033[0m\n"
48
exit 1
0 commit comments