Skip to content

Commit 2c55c14

Browse files
authored
Update install.sh
1 parent e10db5d commit 2c55c14

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

install.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ install_tabchi_mokhber() {
3737
sudo uv run main.py
3838

3939
echo "Your bot has been successfully run. Check the commands using the 'Help' command in Telegram."
40+
sleep 10 # Adding a 10-second delay before returning to the menu
4041
}
4142

4243
update_tabchi_mokhber() {
@@ -91,9 +92,9 @@ while true; do
9192
echo -e "2) Update Tabchi Mokhber"
9293
echo -e "3) Uninstall"
9394
echo -e "0) Exit"
94-
read -p "Enter your choice: " main_choice
95+
read -p "Enter your choice: " main_choice # Fixed variable name
9596

96-
case $option in
97+
case $main_choice in # Using $main_choice instead of $option
9798
1)
9899
install_tabchi_mokhber
99100
create_service

0 commit comments

Comments
 (0)